Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Distort Image


Is it possible to distort an image using actionscript? I had a bit of a search and I found that you can by splitting it up using triangles or a something but it didnt really explain it?? Anyone know how to do it?




ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 08-24-2006, 01:58 AM


View Complete Forum Thread with Replies

Sponsored Links:

Distort Image
Hi,

i am using a 3d engine called sandy which has a distortimage class. Here is a basic example.


HTML Code:
import sandy.util.DistortImage;
import flash.display.BitmapData;
var bmd:BitmapData = new BitmapData(photo._width, photo._height);
var clip:MovieClip = this.createEmptyMovieClip("holder", 1);
var di:DistortImage = new DistortImage(clip, bmd, 5, 5);
di.texture.draw(photo);
di.setTransform(25, 33, 80, 45, 67, 23, 9, 23);
I want to be able to tween the setTransform using the mx.transitions. Does anyone have an idea how to do this?

cheers,
G

View Replies !    View Related
Me Again On The Distort Image
yes, the file that i'm talking @ Lee's http://www.theflashblog.com regarding the 3D distortImage photo stack issue.
I was able to up load the file and play the swf, but when i click on the 1st image in the stacks, it loads and turns facing the screen. When i click on another image in the stack, the second image come in realy small and 1st image has a hard time going into place. Then the remaining images in the stack stay in the smaller pixel.
does this import mx.utils.Delegate; have anything to with it?

import flash.display.BitmapData;
import sandy_2.util.DistortImage;
import com.mosesSupposes.fuse.*;
import mx.utils.Delegate;

ZigoEngine.register(Fuse, PennerEasing, FuseFMP);
photo._visible = false;

_global.base = this;

var obj:Object = new Object();
obj.x1 = 0;
obj.y1 = 0;
obj.x2 = 226;
obj.y2 = 75;
obj.x3 = 226;
obj.y3 = 315;
obj.x4 = 0;
obj.y4 = 389;

var tran:Object = new Object();
tran.x1 = 0;
tran.y1 = 0;
tran.x2 = 226;
tran.y2 = 75;
tran.x3 = 226;
tran.y3 = 315;
tran.x4 = 0;
tran.y4 = 389;

var obj2:Object = new Object();
obj2.x1 = 0;
obj2.y1 = 0;
obj2.x2 = 500;
obj2.y2 = 0;
obj2.x3 = 500;
obj2.y3 = 389;
obj2.x4 = 0;
obj2.y4 = 389;

var f:Fuse = new Fuse();
var first:Array = new Array();

for(var i=1;i<10;i++)
{
this["bmd"+i] = new BitmapData(photo._width, photo._height);
this["clip"+i] = this.createEmptyMovieClip("holder"+i, i);
this["clip"+i]._x = 1000;
this["clip"+i]._y = 150;
this["clip"+i].cacheAsBitmap = true;
this["di"+i] = new DistortImage(this["clip"+i], this["bmd"+i], 1, 1);
this["di"+i].setTransform(obj.x1, obj.y1, obj.x2, obj.y2, obj.x3, obj.y3, obj.x4, obj.y4);
this["di"+i].texture.draw(photo);
this["clip"+i].di = this["di"+i];
this["clip"+i].num = i;
this["clip"+i].onRollOver = down;
this["clip"+i].onRollOut = out;
this["clip"+i].onRelease = rel;
this["clip"+i].x = (150+i*50);
first.push({target:this["clip"+i], x:(200+i*50), time:0.3, delay:i*0.15, ease:"easeOutExpo"});
}
f.push(first);
f.push({func:function(){base.onEnterFrame = enterer;}});
f.start();

function rel():Void
{
noReleaser(this);
scaleTheRest(this);
delete base.onEnterFrame;
this.swapDepths(base.getNextHighestDepth());
var f:Fuse = new Fuse();
f.push([{target:base.tran, x1:obj2.x1, y1:obj2.y1, x2:obj2.x2, y2:obj2.y2, x3:obj2.x3, y3:obj2.y3, x4:obj2.x4, y4:obj2.y4, time:1.5},
{target:this, x:251, y:140, time:1.8, controlX:500, controlY:0}]);
f.push({func:function(){delete this.onEnterFrame;}});
f.start();
this.onEnterFrame = function()
{
this.di.setTransform(base.tran.x1, base.tran.y1, base.tran.x2, base.tran.y2, base.tran.x3, base.tran.y3, base.tran.x4, base.tran.y4);
}
this.onRelease = base.closeIt;
}

function closeIt():Void
{
unscaleTheRest(this);
var f:Fuse = new Fuse();
f.push([{target:base.tran, x1:obj.x1, y1:obj.y1, x2:obj.x2, y2:obj.y2, x3:obj.x3, y3:obj.y3, x4:obj.x4, y4:obj.y4, time:0.7},
{func:function(){this.swapDepths(this.num);}, delay:0.3, scope:this},
{target:this,x:this.x, y:150, time:1.1, controlX:500, controlY:50}]);
f.push({scope:this,func:function(){delete this.onEnterFrame;base.reReleaser();}});
f.start();
base.onEnterFrame = enterer;
this.onEnterFrame = function()
{
this.di.setTransform(base.tran.x1, base.tran.y1, base.tran.x2, base.tran.y2, base.tran.x3, base.tran.y3, base.tran.x4, base.tran.y4);
}
this.onRelease = base.rel;
}

var theOne:MovieClip;

function down():Void
{
var s:Sound = new Sound();
s.attachSound("an");
s.start();
theOne = this;
}

function enterer()
{
for(var i=1;i<10;i++)
{
if(i<=theOne.num) base["clip"+i].dir = base["clip"+i].x - 100;
else base["clip"+i].dir = base["clip"+i].x + 100;
base["clip"+i]._x += (base["clip"+i].dir -base["clip"+i]._x)*0.2;
}
}

function scaleTheRest(who:MovieClip):Void
{
delete who.onRollOver;
var f:Fuse = new Fuse();
var fa:Array = new Array();
for(var i=1;i<10;i++)
{
if(base["clip"+i] != who)
{
fa.push({target:base["clip"+i], y:300, scale:30,time:1.5});
}
}
f.push(fa);
f.start();
}

function noReleaser(who:MovieClip):Void
{
for(var i=1;i<10;i++)
{
if(base["clip"+i] != who)
{
delete base["clip"+i].onRelease;
delete base["clip"+i].onRollOver;
}
}
}

function reReleaser(who:MovieClip):Void
{
for(var i=1;i<10;i++)
{
base["clip"+i].onRollOver = base.down;
base["clip"+i].onRelease = base.rel;
}
}

function unscaleTheRest(who:MovieClip):Void
{
var f:Fuse = new Fuse();
var fa:Array = new Array();
for(var i=1;i<10;i++)
{
fa.push({target:base["clip"+i], y:150, scale:100,time:1.5});
}
f.push(fa);
f.start();
}

View Replies !    View Related
Liquid Image Distort
Hi there,

I need the source for an image distorter, that will distort the picture according to the mouseposition - kinda like the mirrors in the "funny house".

Does anyone know where I can find such one? I already looked in the movies section here, but couldn't find anything (except one made for Flash 4 that doesn't work in Flash 5 at http://www.flashkit.com/movies/Utili...41/index.shtml ).

Thanks in advance!
:: ampdeck
[Edited by AmpDeck on 09-24-2001 at 11:32 AM]

View Replies !    View Related
Scroll Over And Distort Image
hi i reaaaaaaaally need som help! i gotta make a small flash movie im trying to distort a picture of say a body and when you scroll over it that area distorts or gets bigger turns into a bubble or anything! i can make it fade in and out when the mouse scrolls over it and this needs to be a smooth action too? can anyone help thanks!

View Replies !    View Related
Roll Over And Distort Image?
hi i reaaaaaaaally need som help! i gotta make a small flash movie im trying to distort a picture of say a body and when you scroll over it that area distorts or gets bigger turns into a bubble or anything! i can make it fade in and out when the mouse scrolls over it and this needs to be a smooth action too? can anyone help thanks!

View Replies !    View Related
Roll Over And Distort Image?
hi i reaaaaaaaally need som help! i gotta make a small flash movie im trying to distort a picture of say a body and when you scroll over it that area distorts or gets bigger turns into a bubble or anything! i can make it fade in and out when the mouse scrolls over it and this needs to be a smooth action too? can anyone help thanks!

View Replies !    View Related
Roll Over And Distort Image?
hi i reaaaaaaaally need som help! i gotta make a small flash movie im trying to distort a picture of say a body and when you scroll over it that area distorts or gets bigger turns into a bubble or anything! i can make it fade in and out when the mouse scrolls over it and this needs to be a smooth action too? can anyone help thanks!

View Replies !    View Related
Roll Over And Distort Image?
hi i reaaaaaaaally need som help! i gotta make a small flash movie im trying to distort a picture of say a body and when you scroll over it that area distorts or gets bigger turns into a bubble or anything! i can make it fade in and out when the mouse scrolls over it and this needs to be a smooth action too? can anyone help thanks!

View Replies !    View Related
Image Scroller Distort? Fla Attached...
Last edited by MediaFlash : 2005-06-24 at 13:21.
























.

View Replies !    View Related
Custom Class/distort Image Question
I'm using this distort class, and I like it.. it's pretty nice, but I'm trying to use it a class of mine and having a problem.. it's not even a difficult class but I can't help but think it has something to do with me using "this" instead of a movieclip on the stage.. but this class extends movieclip and i have movieclips inheriting this class...

the errors i get are really weird.. because they all are errors with the distortion tweener class supposedly.. but i run the example files and they work fine using that class..

errors:1046: Type was not found or was not a compile-time constant: DistortImage.
1180: Call to a possibly undefined method DistortImage.
1172: Definition org.flashsandy.displayistortImage could not be found.

you know what. after looking at these errors.. the lines in the code are referencing properties of "this" but in the class, this is supposed to be a movieclip.. so i am assuming i can't use this.. uhhhh.. help?

i tried making a var _this, and binding that to this..





Code:
package
{

import fl.transitions.easing.*;
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.geom.Point;

import org.flashsandy.display.DistortImage;
import com.reintroducing.transitions.DistortionTweener;

public class ThumbHolder extends MovieClip
{
private var s:Sprite = new Sprite();
private var _this:MovieClip;
private var tl:Point;
private var tr:Point;
private var br:Point;
private var bl:Point;
private var tl2:Point;
private var tr2:Point;
private var br2:Point;
private var bl2:Point;


public function ThumbHolder()
{
_this = this;
tl = new Point(0, 0);
tr = new Point(_this.width, 0);
br = new Point(_this.width, _this.height);
bl = new Point(0, _this.height);
s.x = this.x;
s.y = this.y;
addChild(s);
this.addEventListener(MouseEvent.ROLL_OVER, onOver, false, 0, true);


tl2 = new Point(15, -80);
tr2 = new Point(140 ,-80);
br2 = new Point(140, 45);
bl2 = new Point(15, 45);


var dt:DistortionTweener = new DistortionTweener(s, _this, tl, tr, br, bl, 5);

super();




}

private function onOver(evtObj:MouseEvent):void
{
dt.tweenTo(new Point(tl2), new Point(tr2), new Point(br2), new Point(bl2), Regular.easeIn, .5);

}



}
}
in their example.. that works.. the only difference is that
var dtistortionTweener = new DistortionTweener(s, clip_mc, tl, tr, br, bl, 5); and clip_mc is on the stage...

View Replies !    View Related
Making Tools That Enable The User To Distort Image
hi
im trying to make a movie which lets people upload images into it, im using mysql php to let them upload it to the server and then the user can distort the image in flash, i need a series of tools which they can adjust but it cant really break apart the image or move it,rather distort it in itself, i know ive posted a few queries like this but im slowly getting to do the serverside stuff, but if anyone has any ideas as to guide me to the kind of tools i could make, apart from changing alpha,colour, id like to say bulge the eyes out and i`d have to use x y coordinates in the script to make that area bulge but i dont know how to bulge things out out i suppose? any ideas would be really appreaciated as ive only got a few days left now.. thanks

View Replies !    View Related
PNG Distort
Simple question:

I have a flash file with a transparent PNG image. Whenever I add more than one frame too it, the image distorts (little ripples), but when I leave it with one frame its fine. Is this a common problem?

NOTE: I'm not applying any tweens... just adding more frames and it still distorts.


Thanks

View Replies !    View Related
Distort With AS?
Does anyone know if it's possible to distort a movieclip with actionscript? I would need it to be NOT an affine transformation. I want to take a rectangle and make the right side taller and the left side shorter, with linear symmetry running along a midline x-axis. i.e. top right corner moves away from midline, bottom right corner moves away from midline, top left corner moves towards midline, bottom left corner moves towards midline.

Anyone know if this is possible?

Thanks much!

-iLan

View Replies !    View Related
PNG Distort
Simple question:

I have a flash file with a transparent PNG image. Whenever I add more than one frame too it, the image distorts (little ripples), but when I leave it with one frame its fine. Is this a common problem?

NOTE: I'm not applying any tweens... just adding more frames and it still distorts.


Thanks

View Replies !    View Related
Background Distort
Hello people, i´m making banners in flash and they look fine
in my computer, but when I send them to be put on the web page the background becomes purple for some reason and my images get all messed up...................

Any ideas ???????????????????????????

View Replies !    View Related
Distort A Symbol?
I have a text shape that needs to go through a pseudo-3d distortion tween (spin shown in the gif below). I can't do it with a shape tween, because the text itself becomes distorted.

Any way i can do this with AS?

View Replies !    View Related
Images Distort
Hi All,

Hi i have a big problem, and have already searched for a day to try and resolve it. I have a flash movie with a jpg image on it. When i export the flash it seems that the jpg image in the flash has distorted a bit, as it does not align to any of its neighbouring slices. Before you say its just my image, i replace the flash movie with the normal jpg image and it works. I have tried numerous ways to fix it:

1. Turn Auto Smoothing off on import
2. Convert to symbol
3. Turn alpha to 99
4. Used the _quality = "low" command
5. Imported image as PNG instead of JPG
6. Exported image as .swf from imageready and imported.

This is such a weird bug! anyone have an idea on how to fix it? ill attach the image file =|

View Replies !    View Related
Distort Bitmaps
hi guys.
there is a way by actionscript to do trasformations of images.

i would like to do something like this in flash.

Rubber screen

i don't think that flash is so powerful like processing...



thanx,
bye
noir

View Replies !    View Related
Distort Movie
Hi,

i wanted to add a swf movie clip into another flash document but distort it.

eg. the new document is a photo of a tv, but on an angle. the swf file is what will go on the tv screen. i want to make look realistic by placing the swf file so that it is in the right perspective.

is this possible? how is it done?

View Replies !    View Related
Distort Not Distorting
I'm trying to figure out how to distort movieclips so that they have perspective.

Each image window(shown below) would just be a flat JPG I import in, but the image would inherit the movie clips distortion, thus making the image window and navigation distorted too.

How can I do this? I know I'd have to do it with actionscript, but where do i even go to figure out how to distort the movie clip like I need it?

Any suggestions?

I've already tried here:

http://lab.andre-michelle.com & here
http://teknision.blogspot.com/2005/0...-player-9.html
and didn't get what I needed.

Here's my quick photoshop layout to show you what I'm trying to do in flash. I need to dynamically distort the images because they'll be spinning around and changing orders etc. so the vanishing point needs to change.


Any ideas on how to accomplish this?

View Replies !    View Related
[F8] How To Distort Bitmaps?
Hi

Apart from scaling and skewing is there any way to distort bitmaps, like you have the envelope tool for distorting shapes?

Or is there any way to apply a bitmap to a shape (texture map) then envelope the shape? (not masking, as the bitmap wouldn't distort when you distort the shape)

Many thanks



M

View Replies !    View Related
Distort In Flash
Hey
Im trying to give perspective to a picture by distorting it into a trapezium shape. However when I move the points to deform the picture, the picture is only cut - not deformed. I've already "broken" the picture apart.
Any help would be nice.
Cheers
Prego

View Replies !    View Related
Can Distort A Movie In AS?
Hi,
I have this movie loaded externally in my Flash scene.

Is it possible to distort it PROGRAMATICALLY ? I mean, not just scaling or rotating it, but let's say, apply a skew or a perspective envelope effect on it by some AS function.

(I am trying to avoid having my movie already distorted by hand before loading it in my scene. )

Thanks

View Replies !    View Related
How To Distort Text
I have created text in Flash for use on a sign that angles away. In Photoshop I would simply distort the text, making it smaller as it angles away creating the illusion of perspective. But I can't seem to get the transform/distort option available even if I convert the text to a symbol. Is there a way to distort text in Flash?

View Replies !    View Related
Move MC And Distort
Hi,

How do I make this effect...
to Drag a CD image, (about 300x300 pxls) to the right of the stage and at the same time, while dragging, making the cd to flip in position to get inside a CD drive or something?
When realesed inside the drive, a music clip would play.
If release outside, go back in initial position.

To hard to make?

View Replies !    View Related
Possible To Distort Movieclip ?
Cant figure out if this should even be possible, but here goes ...

I have a movieclip that I load a jpg image into. I can rotate the movieclip & scale it in x & y directions which is great BUT has anyone got any ideas how I could distort it into a trapezium using actionscript ?

i.e.

-----
/
/
---------

Scaling the y is fine, but I effectively want to scale the x dimension by different amounts depending on what the y position is & the more I think about it the more my brain hurts

View Replies !    View Related
How To Distort Movieclip ?
Hi

I like to create some kind of flip menu. I have like 5 moviclips one below the other and if you select one, the selected moviclip moves from left to right and back if deselected. Now this is a little boring so I want o make the movieclips flip, so that it looks like the flat movieclip would look like it stays at like 45 degree. Therefore the left side of the movieclips must look bigger then the right side.

Any idea how I could do something like that ???

thanks a lot for your help.

-mcb

View Replies !    View Related
Move MC And Distort
Hi,

How do I make this effect...
to Drag a CD image, (about 300x300 pxls) to the right of the stage and at the same time, while dragging, making the cd to flip in position to get inside a CD drive or something?
When realesed inside the drive, a music clip would play.
If release outside, go back in initial position.

To hard to make?

View Replies !    View Related
Possible To Distort Movieclip ?
Cant figure out if this should even be possible, but here goes ...

I have a movieclip that I load a jpg image into. I can rotate the movieclip & scale it in x & y directions which is great BUT has anyone got any ideas how I could distort it into a trapezium using actionscript ?

i.e.

-----
/
/
---------

Scaling the y is fine, but I effectively want to scale the x dimension by different amounts depending on what the y position is & the more I think about it the more my brain hurts

View Replies !    View Related
Distort/Envelope MC
There must be some way to transform a MC thru actionscript or something. I just can figure out how.. Help?

View Replies !    View Related
Distort Movie Clip
Is it possible to change more properties of a movie clip or graphic with code other than _xScale and _yScale?

I would like to be able to change the perspective of a text box/movie clip with the new 'distort' function in flash MX with coding.

Please help!

Thanks in advance.

Chris

View Replies !    View Related
Transform, Distort & Envelope In MX
Can you distort a bitmap symbol using distort?
It didn't seem to work unless I broke apart the image.

Then I got strange results. I tried to use a perspective style effect on the image, but it didn't seem to distort the original rectangular image. It added part of the image above the original rectangular image when I dragged the upper right-hand handle upward.

Any thoughts or suggestions?

What I wanted to do was to distort the existing image similarly to what I could do using tne Transform -> Distort command in Photoshop.

View Replies !    View Related
Distort A Bitmap Images?
hi,

is it possible to distort a bitmap image, i want to let it do a flipping effect.

like the picture flip from down-to-top, making the user see the back of the images.

want to know how...

View Replies !    View Related
How Do I Distort A Movie Clip
I am trying to distort one of my movie clips in my movie but in the menu (transform -> distort) the distort function is grayed out. the only way I have been able to use this transformation tool was on a shape.

Is it at all possible to use the distort function on a movie clip?

Thanks in advance

View Replies !    View Related
Images Distort When Resizing Swf?
Hi folks.

I've wrote a javascript function which resizes the embedded *.swf based upon the users' screen resolution.

Most of the swf content resizes perfectly. However, some of the images appear to be 'wobbly' and distorted.

Can anyone tell me why this is happening and how I can get rid of this??

Thanks in advance.

View Replies !    View Related
Distort Text Field
Hi all,

I am building a movie that features a signpost. The sign includes a dynamic text field that imports text from a database. I want to make the sign swivel on its post. To do this, I need to a shape tween, but I cannot get the text field to change as well.

Any ideas?

Thanks.

View Replies !    View Related
Images Distort In Flash.
I'm trying to build a game with tiles making up the map to play on... I have .gif tile sets and they are 32x32 each... a problem I'm having is that when I import the gif's, though they look fine within the program, the output swf shows them to be distorted.. I make sure that their x-y position is an integer, and I uncheck "smoothing" from within the library properties. I've also put 100 compression (JPEG) for when it outputs swf's... I'm not sure why my pictures are distorting (just slightly). Is there any way around this? Thanks.

View Replies !    View Related
JPEGS Distort Problem
Hi,

I am building a site which loads content as movies into a target - the content movies contain jpegs (which are not resized at all), which look fine when viewed on their own - but when viewed within the main movie which they load into, they appear distorted (with an area that looks stretched - see attached image).

I have set the the jpegs quality to 100% with smoothing turned off in their individual properties & the JPEG quality set to 100 in the publish settings.
I have also checked that the content movies are exactly the same size as the target they are loading into.

To see the problem please visit:
http://www.toucandesign.co.uk/client...ign/flash.html
and navigate to:
portfolio > corporate identity > little ones

If anyone has any ideas why this might be happening or any possible solutions it would be great to hear from you!
Thanks for your time,

Tim

View Replies !    View Related
Programs To Distort Images
Hello, i have seen a very cool flash-website with nice waving and distorting images effects.
http://www.okworks.com/

Do you know any good program to do it or just how can i do it.

Thanks

View Replies !    View Related
Is It Possible To Distort Objects For Tweening?
Hi,

I've got a client who wants a slight 3D animation incorporated into the presentation. However, the only way to do this would be to distort and movieClip symbol and tween the animation. This doesn't seem possible in Flash, does anyone know of a way to get around this or maybe a plugin that would allow me to do this?

The only way I can think of is frame by frame animation and that would take a long, long time.

Any help would be greatly appreciated.

View Replies !    View Related
Envelope Distort In Code?
Hello.

Simple question, can I animate envelope distortions on movieclips in AS3? Or is there a way you can think of to fake this? I prefer to stay away from the timeline for many reasons.

Regards, A.

View Replies !    View Related
LoadMovie Distort Imported Jpg
Hi, All,

I was creating a mc, which loads another external swf. this swf was made with an imported jpg. when I publish this swf, it looks totally fine. but when I try to load it into the flash show window (the size of the two mc are exactly the same), the picture is screwed up (vertically stretched)! any idea? Thanks.

View Replies !    View Related
JPEG Distort Problem
Hi,

I am building a site which loads content as movies into a target - the content movies contain jpegs (which are not resized at all), which look fine when viewed on their own - but when viewed within the main movie which they load into, they appear distorted (with an area that looks stretched - see attached image).

I have set the the jpegs quality to 100% with smoothing turned off in their individual properties & the JPEG quality set to 100 in the publish settings.
I have also checked that the content movies are exactly the same size as the target they are loading into.

To see the problem please visit:
http://www.toucandesign.co.uk/clien...sign/flash.html
and navigate to:
portfolio > corporate identity > little ones

If anyone has any ideas why this might be happening or any possible solutions it would be great to hear from you!
Thanks for your time,

Tim

View Replies !    View Related
Distort Bitmaps In Flash 8?
Quick question about Flash 8 (I'm still using Flash 7 and my trial has expired for 8)...

Is it possible to actually distort a bitmap image now in the same way that you can distort a shape (modify -> transform -> distort)?

I want to create a perspective look as though you are looking at a photograph that was placed on a table, with your eyes just above the edge of the table.

Cheers.

View Replies !    View Related
Envelope And Distort On Text
Hi there,
Was wondering if anyone knows why the envelope and distort transform tools are greyed out when transforming text, or a symbol containing text? I'm looking for a quicker way to make perspective text as using illustrator/freehand then importing is a real drag.
I've seen some great fla's on the web for star wars text (one in the movies section here!) but none have any sort of tutorial with them so I can't work out how they've 'skewed' the text on both sides to make the perspective effect.
Any help appreciated.
Greg

View Replies !    View Related
UI Components Distort In MX 2004
I have application where I am using flash as the front end. The application sizes itself to the browser size on startup. I have weird things happening in UI components...such as centered button text being left-aligned until you move the mouse cursor over the button (you don't have to click...just move the mouse cursor over the button and it "snaps" to its centered position). I also use datagrids and the text in the column headers gets 'clipped" until you drag to change a column width ever so slightly (seems to be forcing a redraw fixes the problem).

It makes my application look VERY bad visually. Has anyone seen this behavior before? Any ideas how to fix?

I have tried searching the forums. I have tried attempting to force a "redraw" of the screen on start up. Nothing has worked. I would appreciate any thoughts you might have.

Thanks!

View Replies !    View Related
Is It Possible To Distort Movieclip To Trapezoid?
Hi

I have a MovieClip that loads a bitmap.
The MovieClip is trapezoidal in shape but
assumes the size and shape of the loaded bitmap
which is rectangular.
Is it possible to distort this MovieClip, now loaded with
a rectangular bitmap, back into its original trapezoidal shape?

The clip is static, includes no animation and is
simply a placeholder for a dynamically imported bitmap.

Thanks for your time.

Graham

View Replies !    View Related
Distort Lens In Flash?
Hi

Im new to flash world so I am wondering is there an effect you can appy to mouse cursor like a distort or fisheye wherever the mouse goes??? I figured out how to make a movie follow mouse and replace cursor...I made a sniper scope to look at a page of mine and now im wondering if i can make the scope's view slightly distort the background..like you are actually looking through glass!! I have seen similar things in java and html ans was jsut wondering

here is a link I put up a test so u could see what I mean

click on my name

http://www3.telus.net/dalecutler/scope.html

View Replies !    View Related
Resize SWF To Not Distort XML Menu?
I've created an vertical XML menu, but am having issues with the placement on my HTML page. I'm using MX 2004 Pro.

I am making the h/w/spacing dynamic, so the menu will be able to have it's dimensions modified. My problem is that the menu gets distorted when altering these properties, since it's exported at a certain static size. The "Exact Fiit" setting fixes the Width problem, but not the Height (or the fact that some buttons are not revealed if they require more space than the initial exported SWF setting.

I am needing to be able to resize the SWF (in the embed/object tags) without distortion, or being "cut off" if there are numerous buttons. Is this related to the "allowScale" in the Flash AS, or will I need some Javascript in the page to resize the SWF?

Make sense? Sorry if it's an elementary question...

View Replies !    View Related
Transform -> Distort Text
Hello:
I would like to know how to give a text perspective starwars type. I can only shear and rotate. I need the form /- text type.
Thanks in advance for anyone who helps. I now changed to MX.

View Replies !    View Related
Is It Possible To Distort Objects For Tweening?
Hi,

I've got a client who wants a slight 3D animation incorporated into the presentation. However, the only way to do this would be to distort and movieClip symbol and tween the animation. This doesn't seem possible in Flash, does anyone know of a way to get around this or maybe a plugin that would allow me to do this?

The only way I can think of is frame by frame animation and that would take a long, long time.

Any help would be greatly appreciated.

Cheers,
Anders

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved