Storyline: Audios with State Change keep Playing

May 07, 2014

I'm sure there are many ways to tackle this issue, but my brain is fried!  I have a couple of slides that have a picture that the learner can click or hover to read and hear audio about the picture.  I have the audio play with a state change.  However, if they hover or click on another picture, then I have two audios playing at the same time.

I am sure there is some variable or conditional formatting involved in this.  I tried adding a stop media trigger when the other pictures are in 'visited' state, but it doesn't seem to work.

Thanks in advance for the help!

Erin

6 Replies
Mike Jones

Ok, great that helps alot!

Instead of having your text descriptions and audio appearing on a state change of your images, try this:

  1. Create a layer for each of the 4 images on each slide - be sure to name them so you know which layer goes with image.
  2. Put the dexcription text and audio for each picture in the corresponding layer.

Here's where the triggers come in

On the BASE LAYER: Create 2 triggers for each image.

  1. Show Layer when mouse hovered over (click the option to hide it again when the mouse hovers off)
  2. Show Layer when mouse clicked on.

On each layer that you created:

  • Hide this layer when timeline finishes (you'll want to add an exit animation to the text description)

The reason that this will fix your audio issue is that each layer has it's own timeline, and therefore will only play when their layer is displayed.

If you want to show the users which images they have already visited, you can do use some conditional variables and triggers as follows:

  1. Create a True/False variable for each image named [insert the name of hte image]view - have it default to False.
  2. On the BASE Layer set a slide trigger "Change state of [image name] to visited, when timeline starts, IF variable [insert name of the image]vew = True"
  3. On each layer set a slide trigger to have the variable be assigned to True when the timeline starts.

Do that for all of your slides, and you should have the audio/descriptions not overlap and the user will be able to see what they've already visited.

Hope that helps, but please let me know if any of that doesn't work for you...I'm not in Storyline at the moment so I just pulled that off the top of my head.

Mike

Mike Jones

Glad to help Erin!

Just thought of a potential issue with my "visited" portion of the solution... You could have the state of the images change to visited with a simple trigger in the layers instead of using the variable route.

Simply add a "Change state of [image] to visited when timeline ends" trigger to each layer.

That may give you the same result without the complicated conditional formatting.

Also, if either of these suggestions help your problem please click "Suggest as an answer" so that anyone else with a similar problem can find what worke for you.

Mike

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