Telling Storyline when a swf ends

Aug 17, 2012

I wanted to follow up on a question I had asked a while ago. I have a Captivate recording that provides step by step instructions on performing an action in an application. I don't my learners to be able to go past this slide without seeing the entire demonstration. I have tried inserting an audio file of silence for a specified period of time but that is a bit clunky and I don't really like doing it. Someone had said SL can't see into the swf to know when it's over. Is there a way I can add something to the Captivate file telling it when it's finished? Does anyone have any other ideas about how I might be able to accomplish what I'm after? Thanks in advance for any help.

Jesse Kramer

10 Replies
Jesse Kramer

thanks for the suggestion. I'm only just now getting the chance to try your suggestion. I have a question though. Do I disable the Next button using the gear icon on the lower right side of the screen? When I go to the trigger wizard I have no selections available for the On Object menu. What am I doing wrong? Can you provide more detailed instructions? Thanks.

Jesse

Garry Nordenstam

In my example, I was using a custom button, not the built-in Player button. What you could do, is create the custom button, but since you're using the Player Next/Previous buttons, you may want to label the custom button "Continue." Then, for that slide only, either turn off the Next button through the Slide Properties or leave the button visible through the Slide Properties but delete the trigger for the Next button so it doesn't do anything. There are a couple of ways you could handle the Player's Next button - these are just a few.

I've attached a basic example. Let me know if you have questions after reviewing it.

--Garry

Ian Jaffe

Doing something similar here, but our SWF has clickable interactions in it that the user has to click to advance the SWF.  What we are finding is that the next button is enabling after the number of seconds in the timeline the SWF is set to play for regardless of if the SWF completes or not.  So the user can click none of the interactions and after say 12 seconds the next button enables anyway.  We also tried to advance the slide automatically when the SWF ends, but again that advances after the elapsed time regardless of user interaction with the SWF.  Is there some code I can put in my SWF that will advance the side for me when it completes?

Christine Hendrickson

Hi Ian,

Just some quick thoughts on this. How about extending the time on the timeline to match that of the SWF? If you were able to do that, the slide could advance around the same time the SWF ends. Or maybe add trigger to jump to the next slide when the actual media completes? 

Again, just some thoughts Hopefully you'll be able to find an option that'll work for you.

If you'd like to share the .STORY file here for the course, I'd be happy to take a look and see if I can offer some alternatives. 

Thanks!

Ian Jaffe

Extending the time of the SWF isn't really a relaible option as the SWF has about a dozen click ot advance points and we really have no reliable way of guessing an average time that each user is going to click through it.  One user may take 45 seconds where another might take 3 minutes if  they read slower.

I did try to add a trigger to jump to the next slide when the media completes, but it was not recognizing the SWF on the slide as a selectable media object to be used by the trigger.

I don't know if I can share the exact .STORY file as it has client materials in it, but I should be able to make a new project with a couple of slides and that SWF doing the same thing that I can share.

I know with Presenter we used to be able to add an advance to next slide command to the SWF's AS code with a function call from the SDK, and that would probably be ideal here even though the SDK for Storyline isn't available yet.

Christine Hendrickson

Hi Ian,

Ahhh, I see. I didn't realize it contained interactions for the learner, that makes a lot more sense.

If you'd like, you're welcome to share the project with us privately. You'll be able to attach the .STORY file on the second page of the following form:

Articulate Support - Submit a Support Case

Please be sure to include a description of your issue. Please also include the URL for this thread in the form. Also, please share the case number with me. You're welcome to do so here, or in a private message. This way I can follow the progress of the case and update this thread.

Thanks, Ian!

Christine

Christine Hendrickson

Hi Karen,

I'm not sure how things went for Ian. I haven't been able to find a case or file upload, so it's possible he found another way to work with this in his course. 

Since the interactions in the SWF are not tracked in Storyline, the best option would be to extend the timeline. However, if you're wanting it to advance after the user is done, I'm not sure how you'd set that up. The learner would need to take some action in order for the next slide to trigger, if it's not moving forward with the timeline. 

Ian Jaffe

We never did get a solution to the problem other than dropping the requirement to try and force the learner to view the entire SWF before advancing. 

Christine, there wasn't a ticket submitted as it was submitted through a different channel as we have an Enterprise License agreement and a contact that is working on a list of items with one of our team members here, so it was added to that list.  Posting here I was hoping  that maybe I was doing something silly and someone had a quick answer, but unfortunately that was not the case.

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