Forum Discussion
hide/show animated gif not working properly
Hi Christophe,
Thanks for reaching out!
After looking closely at your setup, I noticed that you are using the same GIF twice within your project. Since this GIF doesn't loop (repeat), once the learner clicks the first one, and it's active, the second time no longer displays (because the animation already finished). I've found a workaround to accomplish what you'd like to achieve. You will need to make sure to export the GIF from the original place you have authored it from twice. Another option is utilizing a different GIF to ensure that both are no longer an instance of the same file.
Attached, you'll find an updated SL File with the GIFs working as desired.
Let us know if you have any other questions!
- LeeJiaLin7 months agoCommunity Member
Hi Luciana, this is frankly quite an unacceptable response. The previous behaviour before whatever updates changed it, was that the GIF would replay from the start even if it was the same GIF. How can you break something that was behaving one way into another, and then tell us we have to change our courseware to suit it? I need the GIF to be able to start from the beginning as many times as needed, are you really telling me to make an infinite number of GIFs to do this? Your company has broken my entire courseware with the numerous bugs in your updates; first, this GIF thing, then the Resume saved states not working on layers above the base layer, and also drag and drop activities being completely broken. Fix your software before demanding your users to implement impossible workarounds!
- hey2ya3 months agoCommunity Member
This might be a late response, but I was frustrated with a GIF not replaying. I kept playing around and what ended up working for me (finally) was to trigger to change the GIF state to Normal when the layer timeline started and then when they clicked to exit the layer, change state to disabled. It has been working flawlessly.