Jump to content
GreenSock

tweenlitesven

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by tweenlitesven

  1. Sometimes I need to execute code at a certain point in the timeline. The call() function works fine to call external functions. However, when the function isn't called more than once, an external function seems unnaccessary. Is there any way to execute an inline function?

     

    This doesn't work:

    myTimeline.call(function() {
      doThis();
      doThat();
      var myVar = new MovieClip();
      etc.
    });
×