I have a problem accessing Objects on my stage...
In my case I created a movieclip (mc1) with two different movieclips (mc2, mc3) inside it and a separate dynamic text field (tf1) on the stage.
If you click on mc2 or mc3, the tf1 should change to a fixed text. Unfortunately, I always get errors accessing tf1...
Code from mc1:
mc2.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_up2);
mc3.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_up3);
function Mouse_up2(event:MouseEvent):void {
stage.tf1.text="text2"; }
function Mouse_up3(event:MouseEvent):void {
stage.tf1.text="text3"; }