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