Skip to main content
This topic has been closed for replies.
Correct answer JoãoCésar17023019

Hi.

Sure it's possible.

Working with a HTML5 (Canvas) document, you can create all the workflow and animations with the main timeline, tweens, symbols, and components and then code the interactivity with JavaScript.

You can, for example, create frame labels and stop actions for each question or decision the user has to answer or make in the main timeline like this:

Frame 0

- Label: "start"

- JavaScript: this.stop();

Frame 120

- Label: "intro"

- JavaScript: this.stop();

Frame 360

- Label: "question0"

- JavaScript: this.stop();

And so on.

Then you can create buttons that send the user to the next label, like this:

this.navigate = function(label)

{

    exportRoot.gotoAndPlay(label);

};

this.navButton.on("click", function(){exportRoot.navigate("intro");});

Also don't forget to check the online docs for help.

Basic terms and tasks with visual dictionary in Animate CC

Please let us know if you have any further questions.

Regards,

JC

1 reply

JoãoCésar17023019
Community Expert
JoãoCésar17023019Community ExpertCorrect answer
Community Expert
August 14, 2018

Hi.

Sure it's possible.

Working with a HTML5 (Canvas) document, you can create all the workflow and animations with the main timeline, tweens, symbols, and components and then code the interactivity with JavaScript.

You can, for example, create frame labels and stop actions for each question or decision the user has to answer or make in the main timeline like this:

Frame 0

- Label: "start"

- JavaScript: this.stop();

Frame 120

- Label: "intro"

- JavaScript: this.stop();

Frame 360

- Label: "question0"

- JavaScript: this.stop();

And so on.

Then you can create buttons that send the user to the next label, like this:

this.navigate = function(label)

{

    exportRoot.gotoAndPlay(label);

};

this.navButton.on("click", function(){exportRoot.navigate("intro");});

Also don't forget to check the online docs for help.

Basic terms and tasks with visual dictionary in Animate CC

Please let us know if you have any further questions.

Regards,

JC

Inspiring
January 23, 2021

can I use animate with C#? or just javascript? 

is it possible to export the adobe animate animations to a c# development environment? and use with XAML? 

i`m learning web/app dev with blazor and web assembly.