cierto, olvide mencionarles, estoy trabajando con AS3, y mi codigo está de esta manera(gracias a un buen amigo):
Código ActionScript :
stop();
//___ Declarando Variables
var ubicacionFrame:Number;
var estado:Boolean = true;
btnPlayPause.gotoAndStop(2);
panel.addEventListener(Event.ENTER_FRAME, traceFrame);
function traceFrame(e:Event):void {
trace("current frame is: " + e.target.currentFrame);
//if (e.target.currentFrame == 21) trace ("spike wanted frame");
ubicacionFrame = e.target.currentFrame;
trace("ubicacionFrame: " + ubicacionFrame);
}
//_____________________________
btnReturn.buttonMode = true;
btnEnd.buttonMode = true;
btnPlayPause.buttonMode = true;
btnReturn.addEventListener(MouseEvent.CLICK, alInicio);
function alInicio(event:MouseEvent):void {
panel.gotoAndStop(1);
}
btnEnd.addEventListener(MouseEvent.CLICK, alFinal);
function alFinal(event:MouseEvent):void {
panel.gotoAndStop(71);
}
btnPlayPause.addEventListener(MouseEvent.CLICK, PlayPause);
function PlayPause(event:MouseEvent):void {
if(estado){
btnPlayPause.gotoAndStop(1);
panel.gotoAndStop(ubicacionFrame);
estado = false;
}else{
btnPlayPause.gotoAndStop(2);
panel.gotoAndPlay(ubicacionFrame);
estado = true;
}
}
ahora, esto me funciona de maravilla, para un moviclip ( panel), pero necesito que otro mc(subtitulos), se pause y se reprodusca al mismo tiempo que panel, he probado uno que otro tip, pero no se; si por la forma en que esta configurado todo el script, necesite algun ajuste especifico. un saludo y gracias de nuevo.