Copy link to clipboard
Copied
Please help me in certain times , I want change of the scene how I can?
Go to the Timeline (Window > Timeline or press + Cmd/Ctrl + Alt + T), select a keyframe and then call the Actions Panel (Window > Actions or press F9). Then you can code inside of this panel.
And here is a link to help you learn the basics of ActionScript in Animate CC:
How to use ActionScript with Animate CC
Regards,
JC
Copy link to clipboard
Copied
Hi.
Firstly please notice that scenes are only available in AS3 and WebGL documents. HTML5 Canvas documents don't have scenes.
To change a scene inside of Animate IDE:
- Go to Window > Scene (or press Shift + F2) to call the Scene panel;
- Within this panel, you can add, duplicate, reorder, rename, or remove a scene.
To change the current scene with ActionScript 3, use gotoAndSop or gotoAndPlay:
gotoAndStop(1, "Scene 2"); // 1 is the frame index and 'Scene 2' is the scene name
OR
gotoAndPlay(1, "Scene 2");
I hope this helps.
Regards,
JC
Copy link to clipboard
Copied
thank you where should I write this code
14 Eyl 2018 Cum 13:53 tarihinde JoãoCésar <forums_noreply@adobe.com> şunu
yazdı:
Scene created by JoãoCésar
<https://forums.adobe.com/people/Jo%C3%A3oC%C3%A9sar> in *Adobe Animate
CC* - View the full discussion
<https://forums.adobe.com/message/10620058#10620058>
Copy link to clipboard
Copied
Go to the Timeline (Window > Timeline or press + Cmd/Ctrl + Alt + T), select a keyframe and then call the Actions Panel (Window > Actions or press F9). Then you can code inside of this panel.
And here is a link to help you learn the basics of ActionScript in Animate CC:
How to use ActionScript with Animate CC
Regards,
JC
Copy link to clipboard
Copied
I understand thank you so much JoãoCésar
14 Eyl 2018 Cum 14:26 tarihinde JoãoCésar <forums_noreply@adobe.com> şunu
yazdı:
Scene created by JoãoCésar
<https://forums.adobe.com/people/Jo%C3%A3oC%C3%A9sar> in *Adobe Animate
CC* - View the full discussion
<https://forums.adobe.com/message/10620215#10620215>
Copy link to clipboard
Copied
You're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now