Tengo un mapa con 24 botones en flash y a cada boton le paso una variable mapa1="
index.php?conte=fedef" desde el index.php
Código PHP:
$mapa1="#";
$mapa2="#";
$mapa3="#";
$mapa4="index2.php?conte=AbCdE==";
$mapa5="#";
$mapa6="index2.php?conte=otraruta==";
$mapa7="index2.php?conte=otraruta==";
$mapa8="#";
$mapa9="index2.php?conte=AbCdE==";
$mapa10="index2.php?conte=KjHgFh==";
$mapa11="#";
$mapa12="index2.php?conte=otraruta==";
$mapa13="#";
$mapa14="index2.php?conte=AbCdE==";
$mapa15="#";
$mapa16="index2.php?conte=otraruta==";
$mapa17="index2.php?conte=otraruta==";
$mapa18="#";
$mapa19="index2.php?conte=AbCdE==";
$mapa20="index2.php?conte=KjHgFh==";
$mapa21="#";
$mapa22="index2.php?conte=KjHgFh==";
$mapa23="index2.php?conte=KjHgFh==";
$mapa24="index2.php?conte=Armando==";
y en mi mapa.swf :
Código:
// haciendo bulce para los 24 botones;
var botones:Number=25;
for(i:Number = 1; i < botones; i++){
var map = _root["mapa"+i];
if( map == "#"){
this["btn"+i].gotoAndPlay(3);
}
else{
this["btn"+i].onRelease=function(){
var link:String = map;
var url:String = link;
getURL(url, "_self", "POST");
}
this["btn"+i].onRollOver=function(){
this.gotoAndStop(2);
}
this["btn"+i].onRollOut=function(){
this.gotoAndStop(1);
}
}
}
Ejecutando todo si la variable es "#" el mapa se inabilita indicando no hay link, (Hasta ahi todo bien),
el problema es k todos los bootnes me nadan ah
Código:
index2.php?conte=Armando==