Programar En Flashhh
* As3
* etiquetas
* btns menu
* info
import flash.events.*;
stop ( );
btn_numeros.addEventListener(MouseEvent.CLICK, misNumeros);
functionmisNumeros(event:MouseEvent):void{
gotoAndStop("Numeros");
}
btn_figuras.addEventListener(MouseEvent.CLICK, misFiguras);
function misFiguras(event:MouseEvent):void{
gotoAndStop("Figuras");
}btn_colores.addEventListener(MouseEvent.CLICK, misColores);
function misColores(event:MouseEvent):void{
gotoAndStop("Colores");
}
Ejercicio 10 NavFrameScenes
Esenas 1,2,3,4,5
* AS3
*Btnmenu
* Bg
Esena 1
import flash.events.*;
stop();
btn_galeria02.addEventListener(MouseEvent.CLICK, miGaleria2A);
function miGaleria2A(e:MouseEvent):void{
gotoAndPlay(1,"Galeria2");
}btn_galeria03.addEventListener(MouseEvent.CLICK, miGaleria3A);
function miGaleria3A(e:MouseEvent):void{
gotoAndPlay(1,"Galeria3");
}
btn_galeria04.addEventListener(MouseEvent.CLICK,miGaleria4A);
function miGaleria4A(e:MouseEvent):void{
gotoAndPlay(1,"Galeria4");
}
Esena 2
stop();
btn_galeria01.addEventListener(MouseEvent.CLICK, miGaleria1B);
functionmiGaleria1B(e:MouseEvent):void{
gotoAndPlay(1,"Galeria1");
}
btn_galeria03.addEventListener(MouseEvent.CLICK, miGaleria3B);
function miGaleria3B(e:MouseEvent):void{
gotoAndPlay(1,"Galeria3");
}btn_galeria04.addEventListener(MouseEvent.CLICK, miGaleria4B);
function miGaleria4B(e:MouseEvent):void{
gotoAndPlay(1,"Galeria4");
}
Esena 3
stop();
btn_galeria01.addEventListener(MouseEvent.CLICK,miGaleria1C);
function miGaleria1C(e:MouseEvent):void{
gotoAndPlay(1,"Galeria1");
}
btn_galeria02.addEventListener(MouseEvent.CLICK, miGaleria2C);
function miGaleria2C(e:MouseEvent):void{gotoAndPlay(1,"Galeria2");
}
btn_galeria04.addEventListener(MouseEvent.CLICK, miGaleria4C);
function miGaleria4C(e:MouseEvent):void{
gotoAndPlay(1,"Galeria4");
}
Escena 4
stop();...
Regístrate para leer el documento completo.