mi boton tiene esta programacion, bueno no el boton, este es el action script, mi boton tienen como nombre b5
este es el as:
Código :
Stage.showMenu = true;
//
resetButtons = function () {
for (i=1; i<=8; i++) {
this["b"+i].bg.gotoAndStop(1);
}
};
b5.onPress = function() {
myZoomPane.loadImage("imagenmapa.swf");
if (myZoomPane.getPreLoadFunction()) {
myZoomPane.setPreLoadFunction();
} else {
myZoomPane.setPreLoadFunction(_root.myPreloader);
}
if (myZoomPane.getOnLoadFunction()) {
myZoomPane.setOnLoadFunction();
} else {
myZoomPane.setOnLoadFunction(_root.onLoadImage);
}
};
//
//
myPreloader = function (obj, bt, bl) {
percent = Math.floor(100/bt*bl);
display.text = "Cargando "+percent+"%";
if(percent == 100){
display.text = "listo!"
}
};
onLoadImage = function () {
display.text="";
};
exactamente lo que quiero es quitar el boton y que las funciones se realicen sin necesidad de presionar nada.
si necesitan el archivo este es mi mail para que me agreguen: [email protected]
