Move back tween

Contributor ,
Apr 04, 2021 Apr 04, 2021

Copy link to clipboard

Copied

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

 

11.jpg

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

TOPICS
Code, Import and export, Timeline

Views

103

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 05, 2021 Apr 05, 2021

Copy link to clipboard

Copied

Any Help ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 05, 2021 Apr 05, 2021

Copy link to clipboard

Copied

(^_^)??

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 06, 2021 Apr 06, 2021

Copy link to clipboard

Copied

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?

 

Screen Shot 2021-04-06 at 9.32.18 PM.png

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 06, 2021 Apr 06, 2021

Copy link to clipboard

Copied

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

see if it helps you. 

hello and welcome, In this tutorial, we are going to use gotoAndPlay in Adobe Animate CC 2021.This will allow you to manipulate animations with JavaScript.Yo...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 07, 2021 Apr 07, 2021

Copy link to clipboard

Copied

LATEST

@Nicktendo28 

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines