# Health Bar In AS3

**URL:** <https://forum.kirupa.com/t/health-bar-in-as3/310041>\
**Category:** flash\
**Created:** [May 31, 2010, 8:13am UTC](https://forum.kirupa.com/t/health-bar-in-as3/310041 "2010-05-31T08:13:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![punk123123123](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@punk123123123](https://forum.kirupa.com/u/punk123123123)\
**Post date:** [May 31, 2010, 8:13am UTC](https://forum.kirupa.com/t/health-bar-in-as3/310041/1 "2010-05-31T08:13:24Z")

</div>

i am a newbie in AS3 or should i say a total noob in actionscripts and flash itself.

Currently i need help on how to make a health bar.  
Basically i need to make a health that decrease over time when the mouse clicks on it. Meaning:Example when there are like 4 objects, A,B,C,D A and B are objects that help that player score points and C and D are objects that make the health bar goes down. By using mouse event, i must make it able to detect the clicking when the object is being clicked.

I need help on both the health bar and the clicking part to detect.
