Código :
... //---------------- lang = _parent.idioma; var loc:String = ""; var enviar_lc:LocalConnection = new LocalConnection(); //---------------------------------// obres.obres_txt.text = this[lang+"_array"][3]; obres.onRollOver = function(){ obres.obres_txt.setTextFormat(format_over); } obres.onRollOut = function(){ obres.obres_txt.setTextFormat(format_out); } obres.onRelease = function() { _parent.mcl.loadClip("obres/obres_close_proves.swf", _root.holder); loc = obres.obres_txt.text; enviar_lc.send("cnx","metode",loc); enviar_lc.close(); }; ...Y el que .swf contenedor imprime los resultados:
Código :
... listener.onLoadInit = function(target:MovieClip) { //ruta.htmlText = "Works"; //ruta.setTextFormat(format); var recibir_lc:LocalConnection = new LocalConnection(); recibir_lc.metode = function(loc:String) { ruta.htmlText = loc; ruta.setTextFormat(format); } recibir_lc.connect("cnx"); } ...