Sunday, 15 March 2015

Flex Mobile Animation Using left property -



Flex Mobile Animation Using left property -

i need helping in creating simple animation app moves image left it's current position is, given distance, user decided move given distance through textfield or similar. put, have no way of telling image placed when needs moved needs move left distance guess i'll able define 1 time moving left.

any assitance can offer appreciated.

take @ greensock animation platform. you'll want create sure image placed in container basiclayout.

then have is:

var newx:int = myobject.x - parseint(mytextarea.text); var duration:int = 1; //1 sec tweenlite.to(myobject, duration, {x:newx});

flex animation mobile

No comments:

Post a Comment