Copy link to clipboard
Copied
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?
try this tutorial and see if that helps. How To Make Health Bar In Flash Actionscript 3.0 only 3 minutes - YouTube
Copy link to clipboard
Copied
what's the progress bar representing? ie, the progress of what?
Copy link to clipboard
Copied
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();”.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Sorry for the inconsistency. I am just making my mind up on what I want to do. Any of those would me ok.
Copy link to clipboard
Copied
try this tutorial and see if that helps. How To Make Health Bar In Flash Actionscript 3.0 only 3 minutes - YouTube
Find more inspiration, events, and resources on the new Adobe Community
Explore Now