Link to home
Create AccountLog in
Avatar of jawaelectric2
jawaelectric2

asked on

Movieclip scale and position

Just working on a small, basic app where every time the user clicks a button, the horizontal bar width increases by a certain amount (say, 40px) and the text box moves along the stage in accordance with the amount the bar has increased. Obviously this is basic stuff if you just want to adjust the width and stage position of objects but I seem to be stumped as to how to execute this as a tween.

I'm using Greensock's tween engine, but I can't see any way to increment the size of an object or position of an object on the stage.

Can anyone help me out?

Cheers.
ASKER CERTIFIED SOLUTION
Avatar of deepanjandas
deepanjandas
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of jawaelectric2
jawaelectric2

ASKER

I see! So you can name variables and use them within the Greensock code - useful.

Thanks!
Absolutely, just check which all variables Greensock accepts. Enjoy :)

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/