Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Feb 10, 2023 Feb 10, 2023

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?

204
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2023 Feb 11, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Feb 11, 2023 Feb 11, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2023 Feb 11, 2023
LATEST

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

 

for easier control, use a movieclip button.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines