Hide Layer on Resume
Nov 30, 2012
By
Diane Peters
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
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.
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:
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.
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
OH...it DID attach! Yippee!
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 - I did not test this at all was just going off the top of my head so it may not work on resume.
Do you have your project set to resume where you left off because it is supposed to remember the variable settings between visits?
Hi Diane,
I haven't change any settings on either the base layer or the layer itself.
Just adding a slide and navigating to it an back to the menu!
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.
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
This discussion is closed. You can start a new discussion or contact Articulate Support.