Health bar fuction help

Okay, here is my little virtual pet

http://photobucket.com/albums/e201/KaedeStudio/?action=view&current=helpkumo.swf[URL=“http://photobucket.com/albums/e201/KaedeStudio/?action=view&current=helpkumo.swf”][COLOR=#ffcc00]
[/COLOR]

Now here is my problem:

Every attached scene is a new animation for what button is pressed, The button “Mean” is supposed to lower the health when pressed. Everytime that button is pressed, the health bar is subtracted, but on the opposite direction, and it reloads back to full health when the scene is reloaded. I am currently using Inglors health bar for this, here is the code:

onClipEvent (load) {
total = 124;
remaining = 124;
}
onClipEvent (enterFrame) {
this._xscale= remaining/total*124
}

When the “Mean” button is pressed, it subtracts it like so:

healthbar._width -= 20
{

Im not sure why it keeps reloading the health, but I think it’s because after every scene attached to the buttons, is played, the last frame contains my

gotoAndPlay(“Scene 4”, 1);

And since the healthbar has OnclipEvent , I think it reloads it back to full health. Can someone here, please help me out on how I can prevent this? I tried putting the Stop(); code on it too, but it either ignores it, or stops the entire scene from playing keyframes. I dont know if a _root is needed, or if a function is needed, but can anyone help me with this script so it doesnt reload back to normal everytime the “mean” scene is over?