Hide Layer on Resume

Hi Heroes,

I want to automatically show a layer the first time a slide plays and then I don't want it to show again...ever. I set a trigger on the base layer to show the layer when the timeline starts. Using the Resume Saved State on REVISIT works as long as the session is open. However, when I close the session and choose to Resume where I left off, the layer plays. How can I stop the layer from playing on RESUME?

Thanks,

=Diane

9 Replies
Nancy Woinoski

Hi Diane, I think you need to create a variable for this.

Create a true/false variable and set the inital value to false. You can name the variable whatever you want but I'lll call it PlayedOnce just to illustrate.

One you create the variable you will need to add a trigger to your layer as follows:

Action: Adjust Variable

Variable : PlayedOnce

Operator: = Assignment

Value = True

When: timeline starts

One your base layer: Edit the trigger that you already have that says to show the layer when the timeline starts to add a condition.

The condition would be:

 If the variable: PlayedOnce

==equal to

False

I think this should do it for you.

Diane Peters

Thanks so much, Nancy, I thought it needed a variable and thought a true/false variable would work, but didn't know how to apply conditions and where to put triggers. I think this is a start, but unfortunately, I couldn't get your solution to work.

Here's what I did:

  • Created a variable just as you instructed
  • Put the trigger you suggested on the layer
  • Edited the trigger on the base layer as you recommended

The layer properties are set as in the image below. Is something here causing a conflict?

=Diane

PS Tried to attach a skinny version of the .story file but it would not upload.

Diane Peters

Annie Jean said:

Hi Diane,

I have tried your file... added a slide after the first one and going to it and back to the menu and it works for me.

No audio or instructions the second time I went on the slide...

Annie


Hi Annie,

It works on REVISIT. Now try it on RESUME. Close the window and reopen it. The layer plays even with the variable.

=Diane

Nancy Woinoski

Diane Peters said:

Annie Jean said:

Hi Diane,

I have tried your file... added a slide after the first one and going to it and back to the menu and it works for me.

No audio or instructions the second time I went on the slide...

Annie


Hi Annie,

It works on REVISIT. Now try it on RESUME. Close the window and reopen it. The layer plays even with the variable.

=Diane


Hi Diane, when you go back to resume, are you getting a prompt to ask you to start where you left off? When you get this prompt you have to say yes - if not the module starts from the beginning again and will reset the variable to false.

I tried your file and it worked for me.

Diane Peters

I have been answering the prompt to start where I left off. Perhaps my cache needs to be cleared or I need to use a different browser because it's still not working for me. I'm happy to hear, however, that it's working for you.

Thanks again for your help...I'll keep fiddling with it...next week. I need a break now!

Have a wonderful weekend.

=D