-
Zoom In/Zoom Out of Picture
What type of animation or action script, do I need use to to zoom in and out of pictures like on this site ......
http://www.electrolyte.co.uk/browser...lyte.asp?sid=9
-
Senior Member
The pictures are probably loaded into empty movieclips and scaled down to thumbnails. Then when you click on them they are repositioned and scaled up using a tween. You need to look into _xscale and _yscale.
- The right of the People to create Flash movies shall not be infringed. -
-
Thanks for the advice. I guess this is a stupid question, but how do I create an empty MovieClip ?
-
createEmptyMovieClip("EMPTY",depth)
-
Senior Member
this.createEmptyMovieClip("mc", this.getNextHighestDepth());
or you just create a new MovieClip and leave it empty. Drag it from the library and give it a unique name.
- The right of the People to create Flash movies shall not be infringed. -
-
rabid_Delineator
it looks to me like they are resizing the actual thumbnal image , resulting in a blurry low res version, as this is happening they are using a movieclip loader to load a full res version of the larger image into a seperate movieclip inside the thumb. Another way to do this would be to load the full res larger image into a movieclip , convert it to bitmap data , draw, clear the intial movieclip, then on scale , run some sort of perlin noise or martix transformation to give the image the pixelated appearance. I would do it the first way though, maybe also using bitmap data with smoothing to true.
-
Thanks to all of you for the advice. I'll try out some of them.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|