I've created a layer that uses the timeline to show different options in a search field. When it gets to the end of the layer's timeline, I'd like the timeline to either repeat (loop) or have an option for the user to replay the 'animation' in the timeline.
I am trying to achieve the same thing (getting a slide layer to loop) and have attempted the method linked to above but it is not working.
I am attaching my file so you can see if there's anything I did wrong. In my file, the way I have set up the base layer to loop and make the blue button "glow". Is how I want to the "button" slide layer to behave. I adjusted the "button" layer properties to hide the layer when the timeline finishes. I also have a trigger on the "button" slide layer that tells it to show the "button" layer when the timeline of the "button" layer finishes.
I didn't need to add a trigger to stop the layer at the end of its timeline, that was automatic with the option "Hide slide layer when timeline finishes".
Thank you for your sharing and kindness Mr. Kuhlmann!
I've a question Tom, How would you display layers using Engage? I put together an example using Studio after I watched a video by hamtra who refered @daveperso on hyperlinking hidden slides. All I had to do was to redirect the content using this sentence:
"asfunction;_level44.playSlide, slide number you want"
It works perfectly in Studio. I want to complicate my life more! So I'm designing a demo in Storyline. I want to include the same Engage and show layers or slides, whichever way that works, to give learners additional insights on the topic "Violence in Mexico and Human Rights".
Now, I've tried to use the code inside an embedded Engage in Storyline to redirect it to the layers or slides. It doesn't work...I thought that: "asfunction;_level44.playSlide, layer number I want" or "asfunction;_level44.playLayer, slide layer you want". No, that didn't work either. I attach my outcome here.
Would you be able to share your file so we can look at the set up? you would probably need a button to trigger the Show Layer 1 from the other two layers.
Thanks Adam for sharing some additional information here that was able to allow you to get this working as needed. If you need anything else, please feel free to let us know.
What I have done to create a replay button for animation on a layer - which seems to work, although I am fairly new to Storyline - is add a button to the layer which hides and then shows the same layer again. I have changed the settings to the layer to reset to initial set on revisiting.
Thanks Stephen for sharing that here - and if you're able to it's always good to share some screenshots or a copy of the .story file so that others can see how you set it up.
Han anyone tell me why this layer won't repeat? - I have tried allsorts of variations - I have another project where a layer uses exactly the same triggers and works fine.. ?
32 Replies
Hey Gary!
You can use a "Show layer" trigger to replay a layer that's already displayed. Here's how.
I am trying to achieve the same thing (getting a slide layer to loop) and have attempted the method linked to above but it is not working.
I am attaching my file so you can see if there's anything I did wrong. In my file, the way I have set up the base layer to loop and make the blue button "glow". Is how I want to the "button" slide layer to behave. I adjusted the "button" layer properties to hide the layer when the timeline finishes. I also have a trigger on the "button" slide layer that tells it to show the "button" layer when the timeline of the "button" layer finishes.
Any help would be much appreciated!
Did you find a solution to your problem Becky?
I want to replay AUTOMATICALLY a layer that is triggered by starting the timeline. I set the layer properties as indicated but it doesn't replay.
In your demo I see the blue button glowing in a loop.
Let's walk through the process.
Here's a screenr that shows it. Also attached the source.
It works, thank you!
I didn't need to add a trigger to stop the layer at the end of its timeline, that was automatic with the option "Hide slide layer when timeline finishes".
It was my first animation in Storyline
On the "hide slide layer" option, I just like to use the trigger so I can see it. Glad that it's working
Thank you for your sharing and kindness Mr. Kuhlmann!
I've a question Tom, How would you display layers using Engage? I put together an example using Studio after I watched a video by hamtra who refered @daveperso on hyperlinking hidden slides. All I had to do was to redirect the content using this sentence:
"asfunction;_level44.playSlide, slide number you want"
It works perfectly in Studio. I want to complicate my life more! So I'm designing a demo in Storyline. I want to include the same Engage and show layers or slides, whichever way that works, to give learners additional insights on the topic "Violence in Mexico and Human Rights".
Now, I've tried to use the code inside an embedded Engage in Storyline to redirect it to the layers or slides. It doesn't work...I thought that: "asfunction;_level44.playSlide, layer number I want" or "asfunction;_level44.playLayer, slide layer you want". No, that didn't work either. I attach my outcome here.
Many thanks indeed Tom!
Ernesto Gutiérrez
Tom
Slide 1 can trigger anyone of three layers
Layer 1 has a "slide show' of images spread over the timeline
Layer 2, & 3 has different content.
I want Participants to be able REPLAY layer1 while on the layer at anytime during the timeline
IF I add a button to layer1 that triggers "show layer 1" nothing happens despite following the settings Peter Anderson shared ( at top of this post).
What am I missing? Can a layer be triggered to re-played without leaving the layer or using/adding a seekbar?
Hello Stephen!
Would you be able to share your file so we can look at the set up? you would probably need a button to trigger the Show Layer 1 from the other two layers.
Another way to repeat a layer, without restarting the slide (Storyline 2):
- start with a slide, call it anything. f.i. 'SLIDE'.
- add to 'SLIDE' a layer you want to be repeated, f.i. layer 'ENDLESS'
- define a true/false variable, f.i. 'rep_1'
- define a trigger on 'SLIDE': show layer 'ENDLESS' when the timeline of 'SLIDE' starts
- define a trigger on 'SLIDE': show layer 'ENDLESS' when the timeline of 'SLIDE' starts
- define a trigger on 'ENDLESS': hide this layer when the timeline ends
- define a trigger on 'ENDLESS': Toggle variable rep_1 when the timeline starts (*) (**)
(*) this trigger must be below the other trigger on layer 'ENDLESS'. First hide the layer, then change the variable.
(**) how to enter 'toggle variable': Adjust variable / rep_1 / = NOT Assignment / Timeline ends / LAN4
Thanks for sharing Barend!
Welcome to the community!
@Barend You put me on the right path, but you're missing the final step! Had me scratching my head there , here it is for the viewers at home:
- define a trigger on 'SLIDE'; show layer 'ENDLESS' when variable 'rep_1' changes
Thanks Adam for sharing some additional information here that was able to allow you to get this working as needed. If you need anything else, please feel free to let us know.
What I have done to create a replay button for animation on a layer - which seems to work, although I am fairly new to Storyline - is add a button to the layer which hides and then shows the same layer again. I have changed the settings to the layer to reset to initial set on revisiting.
So far, that seems to do the trick for me!
Thanks Stephen for sharing that here - and if you're able to it's always good to share some screenshots or a copy of the .story file so that others can see how you set it up.
Hi Ashley,
Thanks for your reply. Here is a rough idea of what I did.
I have also learned something new when making it - all the cool icons for
buttons!
Stephen
Hi Stephen,
If you respond via email your attachments/images, etc. won't be included in the thread. You'll need to visit this page to upload them here.
My mistake - here you go.
My way to do an infinite layer loop.
No buttons & no variables.
Thanks Ioic - always good to have an additional example, so I appreciate you sharing here.
This post was removed by the author
I am using a dial to jump to layers on a slide. when I revisit a layer the dial jumps positions at random but the layer is correct. ?????
Hi Keith! That sounds weird. Can you share your .story file here so we can see your setup?
Thanks!
Han anyone tell me why this layer won't repeat? - I have tried allsorts of variations - I have another project where a layer uses exactly the same triggers and works fine.. ?
@Adam: you're hiding the layer when the timeline ends. There's no trigger to show the later again. You could create a second layer.
When pumping heart ends show layer 2.
On layer 2, show layer pumping heart when timeline starts. That will keep it looping.