Skip to main content
Participant
October 14, 2023
Answered

how do i make a button, when pressed, goes to a specific frame in actionscript 2.0

  • October 14, 2023
  • 1 reply
  • 249 views

pls help

    This topic has been closed for replies.
    Correct answer kglad

    assign your button an instance name (in the properties panel), eg btn and use

     

    btn.onPress=functiion(){

    gotoAndStop(your frame label or number);  /* assuming you want to navigate the movieclip that contains this code */

    }

    1 reply

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    October 14, 2023

    assign your button an instance name (in the properties panel), eg btn and use

     

    btn.onPress=functiion(){

    gotoAndStop(your frame label or number);  /* assuming you want to navigate the movieclip that contains this code */

    }

    Participant
    October 15, 2023

    thanks

    kglad
    Community Expert
    Community Expert
    October 15, 2023

    you're welcome.