Hi Carl, sorry for this old thread, but I am not able to pass arguments to my SWF by loader. Can you help me please?
My AS3 code:
var mySwfLoader:SWFLoader = new SWFLoader(path, {name:'swf', container:this, width:stage.stageWidth, height:stage.stageHeight, alpha:0, bgColor:"0x000000", autoDispose:false, onComplete:function(event:LoaderEvent){
mySwfLoader.item1.text = 'TEST THIS';
timeline.add(TweenLite.fromTo(event.target.content, 2, {alpha:0, ease: Power0.easeOut}, {alpha:1, ease: Power0.easeOut}),"+="+1);
}
});
My .FLA and .SWF to test this:
https://www.dropbox.com/sh/ecihnnzgsvpw8dr/AABQuLXV9aXfWgxeVJb8gZ9Ia?dl=0
The SWF is loaded and showed correctly, but I can not change the text of the SWF.
Thanks a lot Carl.