-
AS2 - Tween class CENTER?
I'm familiar with using the Tween class...however, is there a "easy" way to center a mc using tween class...
i know using:
..."_x", regular, 0, 20, 0, true)...
will position the image to the X=20...however what is the best way to center the mc on the screen (horizantally) using tween class...
not even sure if there is a way...thanks in advance
-
var myCenter:Number = (Stage.width - mc._width)/2;
..."_x", regular, 0, myCenter, 0, true)...
gparis
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
|