Para evitar que tus archivos no sean ejecutados fuera de tu web, introduce este código en tu codigo flash.
//swf can't play out of your site
//setURL = origin of your file
setURL = "http://www.d2show.net";
checkURL = getProperty("", _url);
validURL=true;
charIndex=0;
while(charIndex<setURL.length){
tempChar1=checkURL.charAt(charIndex);
tempChar2=setURL.charAt(charIndex);
if(tempChar1!=tempChar2){
validURL=false;
break;
}
charIndex++;
}
if(validURL){
gotoAndPlay(_currentFrame+1);
}else{
gotoAndPlay(_currentFrame-1);
}
Usuarios que han visto este tema también han visto...
- Como crear un formulario Flash
- Enlaces email en Flash
- Efecto Slide en Flash
- Reproductor de Archivos MP3 con Adobe Flash
- Introducción basica a Flash con PHP
Información legal | Política de Privacidad | Contacte con nosotros
Otro proyecto de Factoría de Internet. Copyright© 2003-2008 Factoría de Internet S.L.. Todos los derechos reservados.