Skip to main content
Participant
June 15, 2023
Question

Code Snippets timeline navigation not working

  • June 15, 2023
  • 2 replies
  • 188 views

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 has been closed for replies.

    2 replies

    kglad
    Community Expert
    Community Expert
    June 15, 2023

    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)?

    JoãoCésar17023019
    Community Expert
    Community Expert
    June 15, 2023

    Hi.

     

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

     

    Regards,

    JC