Jump to content


  • Posts

  • Joined

  • Last visited

Everything 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. });
  2. I have a button that initiates a motion tween. The tween lasts one second. During that second the button should not react, e.g. start another tween. How can I disable the button until the tween is completed? Thanks Sven