0
Fixed

Replay on tap - possible bug

Charmaine Anderson 7 years ago updated by Ezra Weinstein (Administrator) 6 years ago 2

I want a .png animated sequence to animate and transition on tap. When the transition plays once and ends I want it to stop animating and enable user to tap again to repeat the same animate > transition behavior.  I've tried setting the replay to both yes and no but it just keeps looping the behavior.  I also tried setting the Behavior replay number from 0 to 1 and it doesn't seem to work as desired, the transition continues to loop. I also tried to chain a on double tap stop animation behavior to the element and that didn't stop the animation from playing. Please recommend best method to enable the desired functionality. In other words repeat the same on tap animate > transition behavior on tap once transition ends. Not sure how to do this. Thanks.


Answer

Answer
Fixed

I assume you are using a frame animation.  Looks like a bug to me, in theory you should be able to do a transition animation with a bounce and then the user could just tap again.  We are planning on releasing an update this week (Week of June 16th).

Started

I assume you are using a frame animation.  Looks like a bug to me, in theory you should be able to do a transition animation with a bounce and then the user could just tap again.  We are planning on releasing an update this week (Week of June 16th).


Yes, it is a frame animation of about 20 frames.  Thanks for looking into this.

To do this try adding a 21 frames as a copy of the first frame.After the animation ends the element should be in the original position and it should work again when you tap.So this should fix the problem.
Let us know how it worked.

Answer
Fixed

I assume you are using a frame animation.  Looks like a bug to me, in theory you should be able to do a transition animation with a bounce and then the user could just tap again.  We are planning on releasing an update this week (Week of June 16th).