PDA

View Full Version : Creating a Zoom in Feature in Flash 5


Lara7377
06-21-2002, 03:26 PM
Does anyone know I how I would go about creating a zoom feature in a Flash 5 site or if there's any tutorials or books that explain how to achieve this.

What I would like to create in my is site after the viewer clicks on a button that triggers a zooming in effect on that area (where the button is) If you need more clarification I can explain better.

Should this be created using a mask or two different scenes? Any suggestions would be deeply appreciated..Thanks Much


Cheers, Lara

Ricod
06-21-2002, 03:34 PM
I'd say that you put everythg in a mc, and then use the _xscale and _yscale properties to zoom in and out. Correction of the _x and _y properties should be made according to _xscale and _yscale AND _xmouse and _ymouse.

This'll take a bit of coding.

What do u have sofar ?

Lara7377
06-21-2002, 04:37 PM
Rico,

Actually I think I may have figured it out. Similar to what you suggested. So far I have two scenes. On the first scene I have the image with the button with actions attached to each as the button is pressed the actions tell the button to play scene 2 of the first 1.

In scene 2 I made a movie clip and and then changed the x and y values and then added another frame 10 frames down again changing the x and y values.

Its actually doing what I want I hope it would do...Thank goodness and thanks to for replying. I'll post it when is finished...

Thanks again