Skip to main content
Participant
Jun 15, 2023 3:41 AM UTC
Question

Code Snippets timeline navigation not working

Hi all!

I'm working on an animation project for a class. I'm trying to use code snippets (we've been instructed not to use action script) to utelize the timeline navigation "Go to frame and stop/play" and it works on the first button, however, when I try to apply the same code snippet on a different frame to a different button it doesn't work. I am changing the frame number it should go to and I made an instance name for each new button. Does anyone have any suggestions as to why this isn't working?

 

side note: I've also tried using the action "stop a movie clip" for a different button in order to end stop the audio and that also doesn't work. 

 

Any help would be greatly appreciated! Thanks 🙂

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    kglad
    Community Expert
    Community Expert
    Jun 15, 2023 2:39 PM UTC

    if you have a canvas project, note the first timeline frame is frame 0, and the nth frame is frame n-1. 

     

    are you using the correct frame number(s)?

    Translate
    JoãoCésar17023019
    Community Expert
    Community Expert
    Jun 15, 2023 12:01 PM UTC

    Hi.

     

    Can you show us your code so that we can take a look at it?

     

    Regards,

    JC

    Translate