Why?! HP :(

ok i want to heal my self in a atb game and this is th code i have in the frame

_root.HP = _root.HP+random(50); 

but when i click heal… and after it goes thru the animation then nothing happens… as in no hp heals…