FLASH : gotoAndPlay

leemos de la pagina de Adobe - Macromedia sobre el uso del gotoAndPlay
Va y ejecuta
Usage gotoAndPlay( scene, frame )

Parameters
scene The scene name to which the playhead is sent.
frame The frame number or label to which the playhead is sent.

Description
Action; sends the playhead to the specified frame in a scene and plays from that frame. If no scene is specified, the playhead goes to the specified frame in the current scene.

Example
When the user clicks a button to which the gotoAndPlay action is assigned, the playhead is sent to Frame 16 and starts to play.
on(release) {

 gotoAndPlay(16);
}

1 comentario:

Anónimo dijo...

tengo un problema estoy en un botón dentro de un clip de película con una animación de 10 fotogramas , y al ejecutar la acción gotoAndPlay (2) no me envía a el fotograma 2 de el juego sino me envía al fotograma 2 de la animación de el clip de película