Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/11/2005, 13:10
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 20 años, 11 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