How to create an infinite loop, using two buttons to animate one object

Learn / Forums / General InDesign Topics / How to create an infinite loop, using two buttons to animate one object

Viewing 4 reply threads
  • Author
    Posts
    • #98074
      Jake Wilson
      Member

      Hello!

      Here’s a link to show an example of what I’m trying to accomplish:
      https://indd.adobe.com/view/04a6a9cf-db59-44ac-b652-5dd7edec5bbf

      In order to apply multiple animations to one object, I’ve been using this trick: I create the first animation, then create an empty rectangle, group the rectangle with the object I’ve animated, then apply the second animation to that group. This works great, even with buttons triggering the animation. However, I want to use two buttons to “reset” the animation (creating an infinite loop of the two animations). After messing around for hours, trying different grouping patterns, I’m unsure if this is even possible. As you can see in the example, the “Click for Bio” button animates the text on screen. The “^” button at the bottom then appears, and when that is clicked, the text fades out and the “Click for Bio” appears again. But when “Click for Bio” is clicked a second time, nothing happens. Any ideas??? My brain hurts, haha.

      Jake

    • #98097
    • #98101
      Jake Wilson
      Member

      Woah, yes! Thanks so much! How did you do this??? The only thing is, I need to be able to hide the “Click for Bio” button once it’s clicked (like in my example). Is there any way you could explain how you did it? I was actually about to start experimenting with mixing animation and object states, cause that might work. I’ll give that a go. Thanks again!

    • #98109

      Oups! This one works on tablets!

      https://indd.adobe.com/view/1678c152-90c4-4aeb-9841-509656ae49b9

      I’m not a teacher, but I can share the ID CC 2015 file — Exceptionally, for free this time!

      https://www.dropbox.com/s/17o3mb74dk1opqp/Interactivity_Test_08.indd.zip?dl=0

      (^/)

    • #98115
      Jake Wilson
      Member

      Duuuude, that was exactly what I needed, thank you so much for setting that up for me! I had no clue about the “reverse” option for the button! That’s crucial. Thanks again, I really appreciate it!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.
>
Notice: We use cookies on our websites to give you a great online experience. If you keep browsing, we'll assume you're ok with this. For more information, see our privacy policy. By closing this banner, you agree to the use of cookies.I AGREENo