ForumsProgramming ForumVcam help

1 1362
fiester
offline
fiester
18 posts
30

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
30

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