Set variable before everything appears on slide to control SWF ?

Oct 30, 2014

Hello,

I need to pass a variable to a SWF from Storyline.

My SWF needs a variable from SL before it starts so it can jump to a particular section according to the value of this variable.

But the trigger "When timeline starts" actually sets the variable when everything is set on stage so it's actually available for the SWF in the next slide !

Is there a clean way to set a variable before everything else in SL ?

I could of course set the variable at the end of the previous slide but it won't work if you come back to the slide.

I could also make the SWF start afterwards but I would get an ugly flash (!) at the beginning of the slide.

Any idea ? Thanks.

2 Replies
Brian Allen

Hello Pierre - not exactly sure how you have your variable(s) set up, but one thing you may try is moving your trigger(s) that adjust the variable to the slide master.  A little known trick is that triggers on the slide master actually load and trigger before anything else on the slide.  Doing something like this may just work for you in this situation...

This discussion is closed. You can start a new discussion or contact Articulate Support.