Skip to main content
CodeDeveloperOM
Inspiring
April 4, 2021
Question

Move back tween

  • April 4, 2021
  • 4 replies
  • 352 views

Reset movement to the back in frames
For example, the figure advances to the back
Or go back in the same path of progress ???

 

For example, I have two buttons
When the first is pressed, the shape advances forward, but if pressed on the other, it returns back
How to do it ??

this.stop();
var root = this;

this.cover4.addEventListener("mousedown", cover4_4.bind(this));
function cover4_4(evt) {
this.gotoAndPlay(11);
this.flipbook.gotoAndPlay(1);
}

this.cover3.addEventListener("mousedown", cover3_3.bind(this));
function cover3_3(evt) {
this.gotoAndStop(0);
this.flipbook.gotoAndPlay(1);
}

 

 

please help

This topic has been closed for replies.

4 replies

Community Expert
April 7, 2021

Try this tutorial https://www.youtube.com/watch?v=AkGjj-7JuwY

see if it helps you. 

CodeDeveloperOM
Inspiring
April 7, 2021

@Nick Gioia 

I do not mean this
I mean, if Movie Clip, move to Frame 10
I want it , go back in the same movement from 10 to 1

Community Expert
April 7, 2021

Can't have both of these (this.gotoAndPlay(11); or
this.flipbook.gotoAndPlay(1);) in one.  one or the other.

 

Have you tried code snippets?

 

 

CodeDeveloperOM
Inspiring
April 5, 2021

(^_^)??

CodeDeveloperOM
Inspiring
April 5, 2021

Any Help ?