Foros del Web » Creando para Internet » Flash y Actionscript »

allowDomain (Ayudita porfis)

Estas en el tema de allowDomain (Ayudita porfis) en el foro de Flash y Actionscript en Foros del Web. Necesito de su ayuda con respecto a como hacer que un clip X pueda trabajar con las variables de otro clip Y pero ambos están ...
  #1 (permalink)  
Antiguo 09/11/2005, 13:10
Avatar de Saruman  
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 20 años, 10 meses
Puntos: 5
allowDomain (Ayudita porfis)

Necesito de su ayuda con respecto a como hacer que un clip X pueda trabajar con las variables de otro clip Y pero ambos están en distintos dominios... he leído aqui en el foro sobre allowDomain pero la verdad que todabia no lo comprendo... hice esto y bueno no me sale... les explico mejor a continuación:

en la ayuda del flash 8 encontre algo mas....

en el archivo1.swf pongo:

Código PHP:
System.security.allowDomain("*");
 
var 
temporal "hola mundo"
sobre el asterisco ("*"):

Cita:
Flash Player 8 only) "*"
You can pass a wildcard ("*") to System.security.allowDomain() to allow all domains, including local hosts, access to the calling SWF file. Before using the wildcard, be sure that you want to provide such broad access to the calling SWF file. See the discussion in the main description of this method.
en mi archivo2.swf pongo:

Código PHP:
var url "http://www.hubtimes.com/archivo1.swf";
childMC.loadMovie(url);
texto.text childMC.temporal
y no funciona.... que tengo mal??
necesito que en el texto.text salga "hola mundo" y me sigue saliendo "undefined".

referencia: http://livedocs.macromedia.com/flash...=00002647.html

saludos a todos
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.

Última edición por Saruman; 11/11/2005 a las 07:44
  #2 (permalink)  
Antiguo 11/11/2005, 07:20
Avatar de Saruman  
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 20 años, 10 meses
Puntos: 5
nadie me puede ayudar con esto?? es muy IMPORTANTE por favor
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 02:33.