playonce variable and refresh button on player

Aug 30, 2012

Hi there

I am producing a Storyline product to function as a 1.2 SCORM package in Moodle 2.2

The refresh button on the player doesn't seem to re-set the state of the slide and reset the playonce variable to false.

I've set up a Slide Trigger so that I play a specific sound file when the timeline starts if playonce equal to False. Then, I've set up an Object Trigger to set the playonce variable to true when the media completes.

I've verified this by inserting a text box that displays the playonce variable state. it's remaining at True when I click the refresh button.

Do I need to set up a trigger for the refresh button on the player?

Thanks!

KerryJ
tw kerryjcom
e k.johnson@rasa.org.au
p 0882458192

Submitted 11am Australian Central, 31/8/2012

7 Replies
Kerry J

HI Nick

Thanks so much for taking the time to try to help me (I'm a variables N00b).

This may be a N00b question, but here goes: If I re-set the slide to re-set to original state Automatically upon revisiting, wouldn't that negate the whole point of the playonce? I want users to be able to choose to replay audio along with the other events on the slide and the refresh button on the player is the logical choice for this. 

What I want to accomplish is for an audio narration to play once so that when users visit layers and then return to the main slide, they don't have to sit through the narration again.

However, if they WANT to replay the narration along with the timeline re-set that happens when using the refresh button on the player (the intuitive option) - I want them to be able to do so. 

My apologies if I'm not quite getting your suggestion...

Cheers

KerryJ

Phil Mayor

variables are slide independent, the refresh button does not effect variable variables.  The refresh button is the logical way of doing this,your design is stopping it working.

You could do this using states and this would allow the refresh button to work, just set an object that is set to visited after the audio plays, only show the layer if the shape is not visited

Phil Mayor

Hi Kerry

No as such, I would add your audio to a layer, on the base layer add a shape off slide with a visited state.

Add a trigger to the base layer that shows the audio layer on timeline start with a condition that the shape is not visited.

On the audio layer set a trigger that changes the state of your shape on the baselayer  to visited on timeline start

Set the slide to resume saved state.

Hope this makes sense

Phil

Alicia Adalian

Kerry - 

6 Years later it looks like I'm having the same issue and can't seem to resolve it. Anything I try makes the built in replay button unable to replay the audio and animations. Was this something you were ever able to get around? If only you could set a trigger to that replay button that would reset any variables!

Thank you!

-Alicia

Leslie McKerchie

Hello Alicia,

Thanks for reaching out and letting us know what you're running into.

This conversation is a bit dated and I'm not sure that Kerry is still subscribed here.

We do have a feature request for a trigger to reset all variables, so I will add this conversation to that report.

With your permission, I'd like to take a look at your project file to investigate what's happening. You can share it publicly here, or send it to me privately by uploading it here. I'll delete it when I'm done troubleshooting.

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