I’m want to develop a dynamic gallery with xml file like the example mentioned on this site.
However, I want the pictures to appear in a small format (thumbnails) and spread out the stage. Each click on the image will result a manification of the picture with a zoom effect.
I just can’t seemed to find a way to make the zoom effect… Is there an actionscript which can help me to enlarge the hole “layer”?
What other soutions can I find??
Is there an actionscript which can help me to enlarge the hole “layer”?
Yes. You can setup all your images to be inside one movielcip and arranged however you like. To make this work all you need to do is keep track of the x,y positions for each of the thumbnails inside your MC. Basically all you do then is tell your container clip to scale to the appropriate size using whatever method you want (I suggest using Tween classes), and then tell the container clip the new (x,y) position it needs to rest. Remeber those coords for the container to move to are referenced from its parent, and not where the clips are inside of it. Did I make any sense?
I have set up my images dynamicly from xml file and I added a horizonal strip for masking so you can see only 3 pictures each.
Now, I even managed to get through the actionscript for the picture properties and change the _xscale & _yscale However It changes rapidly, and I want to find a code that can “ease” it nicely and smoothly…
maybe on the second click it will go back to the original size.
The zoom_motion_blur is combained by 5 or 6 different pictures in order to animate the blur effect. My intention is to dynamicly get one picture at a time and by clicking on it - It will zoom in with ease effect smootly… (I hope)
Thanks, I’m trying to make to images grow larger onRollOver and get back to original size onRollOut, However I can’t seemed to impliment this code… sometimes the growth effects several images at a time…
I have tried to apply your code in an xml gallery. And it works fine!
One problem thou… When you click the image i zooms in to its position. But when the image is zoomed I would like to be able to click a second time on the iimage and it would zoom out. Right now im using a “back” button. Any suggestions?
Thanks:thumb: