I haven’t worked with flash since 2004, and I am realizing that I have missed a lot. I am trying to control different movie clips that reside inside of a parent movie clip.
Code of movie clip inside of playbar
stop();
//functions
function over_playBar_1(evt:MouseEvent):void {
MovieClip(root).playBar_mc.gotoAndPlay(2);
}
// events
ind.addEventListener(MouseEvent.ROLL_OVER, over_playBar_1);
Code to move playbar around in parent.
stop();
//functions
function over_playBar(evt:MouseEvent):void {
gotoAndPlay(2);
}
function out_playBar(evt:MouseEvent):void {
gotoAndPlay(11);
}
// events
playBar_activeArea.addEventListener(MouseEvent.ROLL_OVER, over_playBar);
playBar_activeArea.addEventListener(MouseEvent.ROLL_OUT, out_playBar);
I can email the FLA if that would help.