Ishkandar 0 Denunciar post Postado Abril 19, 2008 Estou escrevendo o código do AS no frame 1 para um determinado movieclip // MovieClip mcIdiomas; // OUVIDORES DE EVENTOS mcIdiomas.addEventListener(Event.ENTER_FRAME, dondeEstou); // FUNÇÕES DE EVENTO function dondeEstou (evento:Event):void { if ( currentFrame == 1 ) { trace ( "Estou no frame 1" ); } Aqui quero colocar o condicional para quando a TimeLine estiver no frame 25 { trace ( "Estou no frame 25" ); } } Desde já muito obrigado Compartilhar este post Link para o post Compartilhar em outros sites
Eder Fortunato 15 Denunciar post Postado Abril 20, 2008 já testou assim: function dondeEstou (evento:Event):void { if ( currentFrame == 1 ) { trace ( "Estou no frame 1" ); } //Aqui quero colocar o condicional para quando a TimeLine estiver no frame 25 if(currentFrame == 25){ trace ( "Estou no frame 25" ); } } []´s Compartilhar este post Link para o post Compartilhar em outros sites