Skip to main content
selçukg11857511
Participant
September 14, 2018
Answered

Scene

  • September 14, 2018
  • 1 reply
  • 486 views

Please help me in certain times , I want change of the scene how I can?

    This topic has been closed for replies.
    Correct answer JoãoCésar17023019

    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

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    September 14, 2018

    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

    selçukg11857511
    Participant
    September 14, 2018

    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>

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

    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