View Full Version : zooming in and out a swf using AS or anything
DDD
August 2nd, 2002, 07:02 PM
Hey I was just working on trying to zoom a flash movie using JS but cant seem to get it and it is driving me nuts any of you guys know how I can zoom in and out on a movie using action script. I know I asked 2 questions in a row please forgive me.
kornkid8281
August 2nd, 2002, 09:10 PM
the only way that i know how to zoom is by using the '_xscale' and '_yscale'.
e.g.
<hr>
_root.someObject._xscale = 300
<hr>
or something like that.
if anyone else knows a better way i would love to know as well
pom
August 4th, 2002, 01:26 AM
Yep. You can try that code on your object:
onClipEvent (enterFrame) {
this._xscale+=5;
this._yscale+=5;
}pom :asian:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.