Skip to main content
Inspiring
March 27, 2012
Question

have an animation start when you go to the screen that it resides on

  • March 27, 2012
  • 1 reply
  • 450 views

I have added an animation to a slide and the problem is that it seems to start when the captivate swf loads rather than when you get to the specific screen that the animation resides on ... is there any way to make sure that an animation doesn't start until you get to the screen that it is on?

    This topic has been closed for replies.

    1 reply

    RodWard
    Community Expert
    Community Expert
    March 27, 2012

    Yes.  The main reason this happens is that the animation in the original Flash file is encapsulated inside a symbol instead of being on the main timeline at the root level of the SWF.

    You need to get the original Flash file used to create this animation and change the way the animation is built so that all animation happens at the top timeline level.

    Inspiring
    March 27, 2012

    I actually found this bit of code that if you add it to frame 1 of your flash animation ... seems to work:

    Import flash.events.*;

    stop();

    addEventListener(Event.ADDED_TO_STAGE,init)

    function init() {

    gotoAndPlay(2);

    }