Forum Discussion
How to replay a slide?
Hi! I want to put in a button so that a user can replay a slide. I have put in a button and set it to jump to the slide when it is clicked, and set the slide to reset to original state. However, when I try it out, the slide restarts, but without the audio. I have also put in pause and play buttons, by getting them to show and hide a blank layer that pauses the timeline of the base slide. These work fine.
Is there any trigger to restart the timeline?
28 Replies
- KevinDixon2Community Member
Rebecca,
I added a button with the trigger jump to slide (the name of the current slide with the audio) and set prop. like you said to initial state and it works. Sounds like I did the same thing you have done.
- MichaelHinzeCommunity Member
From your description, this should work. If you can share your file here, we can have a look and see what's going on.
A while ago, I had done a sample with a toggle button to pause/play the audio (with triggers, not a layer that pauses the baselayer) and a restart button to replay the slide, see here. Maybe that gives you some ideas.
- rebeccaevensCommunity Member
It does seem odd - I just tried an earlier page where the button worked fine, and its doing the same thing, so it looks like it might be my my computer. But I have no idea how to fix it!
- rebeccaevensCommunity Member
Hmmm... your test file works fine, even though its set exactly the same! I shall try and upload my file for you...
- StijnvanHofwegeCommunity Member
Hi Rebecca,
The same problem (no audio) occurs with me when I restart, after I have paused the page. A work around could be, that the restart button jumps to an empty slide, which when the timeline starts jumps back to the slide you want restart.
It's not pretty, but it worked for me.
- rebeccaevensCommunity Member
I'm going round in circles now! I deleted all the other scenes from my module in order to upload it, and now the button works. How could deleting other scenes make the button work?
- KevinDixon2Community Member
Rebecca,
Is this happening in the same project as the one you are having random quiz numbering problems with? If so you may have a corrupt slide in one of the scenes you deleted. I would start by deleting one scene at a time to find the one that is causing the problem.
- rebeccaevensCommunity Member
Ok, i have replicated the problem on 3 slides. It only seems to happen if I have previously clicked on the pause or play buttons, but Im not sure why.
How do I upload the file? I have tried clicking on the paperclip and selecting my file but when I click on upload the window just closes...
- rebeccaevensCommunity Member
Oops, look like it did work after all!
- rebeccaevensCommunity Member
Hi Kevin, thanks for your reply, it is the same project, but I think I hadn't tested it thoroughly enough before I suggested that deleting the scenes corrected it! I hadn't tried pausing the slide and then replaying, which seems to be what is causing the problem. Not sure why though - the pause layer has nothing on it and doesnt prevent the user from clicking on anything on the base layer. Plus it seems to partly work - the slide restarts, but the audio doesnt.
Related Content
- 8 months ago
- 5 months ago
- 10 years ago