Jump to content
Search Community

pmdpmd

Members
  • Posts

    1
  • Joined

  • Last visited

pmdpmd's Achievements

0

Reputation

  1. Hi, Thank you for a great library. If I run the following code: var timeline:TimelineMax = new TimelineMax(); timeline.append(TweenMax.to(pokerPage.dealerButtonObject, 2.0, { x:0 } )); timeline.append(TweenMax.to(pokerPage.dealerButtonObject, 0.1, { scaleX:5.0, scaleY:5.0 } )); It behaves as expected - moving the image to the left, then blowing it up to 5 times size. However, if I change the duration of the second tween to zero: var timeline:TimelineMax = new TimelineMax(); timeline.append(TweenMax.to(pokerPage.dealerButtonObject, 2.0, { x:0 } )); timeline.append(TweenMax.to(pokerPage.dealerButtonObject, 0.0, { scaleX:5.0, scaleY:5.0 } )); The image immediately blows up *prior* to the image tweening to the left - i.e. the second tween is no longer occurring in order. Apologies if this is a known issue, I did have a search around to no avail. I appreciate that I can get round this issue using e.g. onComplete, its just for neatness, I would prefer to do it as above. Many thanks, Paul
×
×
  • Create New...