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

Progress Bar

New Here ,
May 31, 2018 May 31, 2018

I want to build a progress bar using ActionScript 3 that when I hold a button down I have named the instance of "btn", it starts filling the progress bar until eventually it fills up and does certain action. Also, I would like it to reset every time I let go off the button. ANy ideas on how to do this?

1.0K
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

correct answers 1 Correct answer

Community Expert , Jun 01, 2018 Jun 01, 2018
Translate
Community Expert ,
May 31, 2018 May 31, 2018

what's the progress bar representing?  ie, the progress of what?

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
New Here ,
Jun 01, 2018 Jun 01, 2018

I would like it to represent how many times you touched the screen until it gets to certain value, fills up and runs a “gotoAndPlay();”.

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
LEGEND ,
Jun 01, 2018 Jun 01, 2018

Gonzalo1709  wrote

I would like it to represent how many times you touched the screen until it gets to certain value, fills up and runs a “gotoAndPlay();”.

First you said you wanted it to fill up as long as the button is held. Now you're saying you want it to count screen touches. Which is it?

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
New Here ,
Jun 01, 2018 Jun 01, 2018
LATEST

Sorry for the inconsistency. I am just making my mind up on what I want to do. Any of those would me ok.

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 ,
Jun 01, 2018 Jun 01, 2018
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