OK. Here is the scenario. I have a AS2 flash game in the works. I have a vcam set up to follow the main character. It all works wonderfully. I have also attached a health bar movie clip to the vCam like so:
onClipEvent (enterFrame) {
this._x = _root.char._x-200;
this._y = _root.char._y-210;
}
basically I just attached it to the main character and it works in the Vcam nicely. It just stays on top left of screen.
My problem: I would also like to attach 2 dynamic text fields to the vcam-character as well so the screen has a little hud. (you know, health bar, name, and health points on main screen no matter where character and vcam move. I can’t add the same script from the health bar to the dynamic text because they are not movie clips, they are dynamic text which do not allow actionscript inside. So basically, I’m wondering how I can attach the dynamic text to the vcam? can I do it in the main timeline and if I can how would I write it? Any help would be appreciated…