Skip to main content
Participating Frequently
February 11, 2023
Pregunta

How do I put a button in the "hit" position in ActionScript 3.0 after being clicked?

  • February 11, 2023
  • 1 respuesta
  • 275 visualizaciones

I made a keyframe with a button that says "start". After clicking the start button, the title and button fade away by using "click to go to frame and play" at frame 2 till the end of the classic tween that fades the button and title. The problem is, I want the button to be in its "hit" frame after the user clicks it while it fades away. How do I do that?

    Este tema ha sido cerrado para respuestas.

    1 respuesta

    kglad
    Community Expert
    Community Expert
    February 11, 2023

    there's nothing visible on stage in the hit frame of a button.  that frame just determines the region of button responsiveness.

    Participating Frequently
    February 12, 2023

    Oh, okay. Thank you for that. 🙂 I thought I could make a frame change upon the button being "hit".

    kglad
    Community Expert
    Community Expert
    February 12, 2023

    you can, but not by using the hit frame of a button.

     

    for easier control, use a movieclip button.