reaching a movie on the stage from inside another movie clip
I'm trying to reach a body of text which i turned into a movie clip which is on the main stage, and have it scroll up/down whenever it rolls over the designated hot spots. Here's what i have.
stage.addEventListener(MouseEvent.MOUSE_MOVE,down1,false,0,true);
function down1(e:MouseEvent):void {
if (mouseX>=0 && mouseX<=42 && mouseY>111.1 && mouseY<146.1) {
stage.addEventListener(Event.ENTER_FRAME,scrolldown1);
} else {
stage.removeEventListener(Event.ENTER_FRAME, scrolldown1);
}
}
function scrolldown1(e:Event):void {
if(MovieClip(this.root).resume_txt.y > 219) {
MovieClip(this.root).resume_txt.y += 5;
} else {
this.removeEventListener(Event.ENTER_FRAME, scrolldown1);
}
}