Forums

ForumsProgramming Forum

Vcam help

Posted Jan 1, '12 at 4:28pm

fiester

fiester

18 posts

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

 

Posted Jan 1, '12 at 8:16pm

BlueJayy

BlueJayy

27 posts

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.)

 
Reply to Vcam help

You must be logged in to post a reply!