Groups | Blog | Home
all groups > flash (macromedia) > april 2006 >

flash (macromedia) : zoom!!! Anyone know how?



paulmmalone
4/14/2006 9:43:44 PM
Trying to create a similar zoom function to this...

http://www.ashevillevisitorguide.com/

Anyone know how it was done?

urami_
4/15/2006 12:00:00 AM


[quoted text, click to view]

on press (button handler)

movieClip._xscale=200;
movieClip._yscale=200;

and on release

movieClip._xscale=100;
movieClip._yscale=100;

--
Regards

Urami


--



Happy New Year guys - all the best there is in the 2006 :)




<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
paulmmalone
4/17/2006 1:11:35 PM
Thank you for the response.
I am having a little trouble getting it to work.
Doesn't seem to do anything though?

I created a button.

And assigned this actionscript to it.

on (press) {movieClip._xscale=200;
movieClip._yscale=200;
}
on (release) {movieClip._xscale=100;
movieClip._yscale=100;
}

Thanks again for the help
Wolf van Ween
4/17/2006 3:44:38 PM
urami gave you an example, Paul. You would have to adapt it to your needs. I'm
pretty sure you don't have a movieClip that is called "movieClip". You would
need to put your name in there.
No, not "Paul" :-)

AddThis Social Bookmark Button