When compiling to SWF 8 you can do something like this:

   var av=this.getMCRef();
   av._xscale=this.sScale*100;
   av._yscale=this.sScale*100;

And any time you change the sScale attribute it will scale the movie clip proportionately.

For some reason I can't figure out how to do this in SWF 9/10. I've tried using the getDisplayObject instead with no success. Also something of note is that there is a _xscale and _yscale attribute for each view without pulling the movie clip. Modifying it doesn't do anything though. Thanks.

Ryan

Reply via email to