How to link FLash to a slide in articulate Story line

Ok, here is my problem:

I have a flash file which has a set of nice movieclips, and buttons.

when I apply this code to the movieclip or a button
mc_YU.onRelease = function(){
_level0.ArtAPI.PlaysSlideNum(2);
};

 

or

 

button111.onPress= function(){
_level0.ArtAPI.PlaysSlideNum(2);
};

I still cannot link to the slide 2
why?

 

4 Replies
Steve Flowers

That API doesn't work in Storyline. The ArtAPI is the old version of Presenter. There currently isn't a way to navigate to a specific slide through AS3 or through the player API.

You could do something with a series of listener triggers on a master slide.

  • When the Variable slideJump Changes, jump to slide 2 if slideJump equals 2.
  • When the Variable slideJump Changes, jump to slide 3 if slideJump equals 3.
  • When the Variable slideJump Changes, jump to slide 4 if slideJump equals 4.

Etc.. 

Then use ExternalInterface to use the JavaScript Player API to set the variable from Flash:

GetPlayer().SetVar('slideJump',2);