ForumsProgramming ForumVcam help

1 3932
fiester
offline
fiester
18 posts
Nomad

i have a health bar and vcam but when i put the bar inside the vcam it doesn't show up on the screen or work and it it isn't inside the vcam it just stays on the left o the screen and disappears when i move here is the code for the hp bar onClipEvent(enterFrame){
this._xscale=_root.hp;
if(_root.hp<0){
_root.hp=0;
_root.gotoAndPlay(2);
}
}
please help!!!!!!

  • 1 Reply
BlueJayy
offline
BlueJayy
27 posts
Nomad

Make sure you added the vcam to the stage. (I'm assuming that this is a separate MovieClip that you're throwing things into so that when the screen moves, the things inside the vcam will stay on the screen.)

Showing 1-1 of 1