Forum Discussion

DonBecker-af017's avatar
DonBecker-af017
Community Member
2 years ago

Exit Animation Triggers with Audio

Good morning and Happy Thursday Heroes! I am having a tough time figuring out the timing/trigger on a complex build and I would love your input/feedback/idea on how to fix it. I have shapes (squares) that hide parts of an infographic. I want the user to click on the square, have the square perform an exit animation, and play an audio clip that corresponds with that part of the infographic.

I've got all that nailed down. Now here comes the problem: the other three squares will also reveal themselves (but not play audio) after the audio is finished. The timeline will continue, then automatically trigger the exit animations. How do I resolve this? I have attached the slide that I am working on so you can see exactly what I am talking about.

Thank you in advance for your guidance!

  • Additional note I forgot to mention: I know that the Risk square is disabled. My plan was to disable it until the user clicked the other three squares first, I just hadn't added that variable and trigger yet.

  • I'm not exactly sure what you want, but here are some thoughts

    1. I'd move the audio to layers and then show that layer when the cover is clicked. That would get rid of all of the start/stop audio triggers.
    2. if the risk cover is disabled on purpose, I'd put a lock or some visual indicator on it for the user so that they can see that it is locked and unlocked
    3. change that state of disabled risk cover to normal when the state of the other objects are X....won't need variables
  • Also, put the risk cover's initial state in disabled state and you can get rid of that trigger

  • @Tom thanks that is a great idea to put the audio files as layers! I was stuck on the timing and hadn't built out the Risk one yet, but I will add a visual cue. Let's be real, all of your ideas are great! Thanks for sharing.

    • DonBecker-af017's avatar
      DonBecker-af017
      Community Member

      I just found a small glitch. The other two boxes do the exit animation when the audio finishes on one of them, which means they can't be selected.

    • DonBecker-af017's avatar
      DonBecker-af017
      Community Member

      It's your example you sent. Click on the Visibility box and wait for the audio to complete. The Adaptability and Business Value box disappear at the end of the clip.

      For now, I have removed the exit animations so I can submit the rough draft to the SMEs, but I would like to add them back for their next review iteration.

  • I assume what's happening is the timeline proceeds and after 20 seconds the exit animation is triggered.

    Since you don't have any opening audio or movement on the base layer, add a trigger to pause timeline when slide starts. That will keep the timeline pause and then the exit animations will only triggered when the object state changes to hidden,

    FYI: On the layer properties, you can select "pause timeline of base layer" to pause the timeline when you're in a layer but you'd still run into the same thing when you leave the layer.