-
[F8] Scale Movieclip to Stage
How do you scale a movieclip that stays proportional to the stage even when the stage sizes changes?
I'm still a noob, so if you can be a little more detailed that would be awesome!
Thanks!
Jordan
-
put the size(width and height) of the stage in a variable in percentage (%) and assign it to the size (_xscale and _yscale, values) of the movieclip.
eg: mc._xscale=stage.width*100/100;
mc._yscale=stage.height*100/100;
-
hmm.. as I said I am a newbie.. having trouble figuring out what you mean?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|