Jump to content
Search Community

alaricoffir

Members
  • Posts

    2
  • Joined

  • Last visited

alaricoffir's Achievements

0

Reputation

  1. Thank you the reply Carl! I am guessing the creator wanted to be consistent with Flash's time line behavior where, unless you have a "stop" method call in the first frame, the movie just plays. I am in love already. I am even thinking about becoming a "Shockingly Green" member today.
  2. First of all, I'd like to tell the person responsible for these packages (TimeLineLite/Max, TweenLite/Max, etc.) that this is truly AWESOME! Such complete and amazing code! Thank you! Quick question: In the code below, the function 'complete' gets called right away, even though the time line has just being created and is still empty. I looked in the documentation but didn't see why the onComplete event is triggered right away. Adding 'tl.kill();' right after declaring the TimeLineMax variable prevents the 'complete' function from being called, but I am not sure what the method 'kill' is stopping for there's nothing in the time line yet. Does anybody know the answer? import com.greensock.TimelineMax; var tl:TimelineMax = new TimelineMax({onComplete:complete}); function complete():void { trace('completed'); }
×
×
  • Create New...