actionscript - Communicating with a loaded as2 swf in another as2 swf -


i have loaded as2 swf inside as2 swf using moviecliploader. have no control(cannot edit) on child swf. there way can communicate child swf parent swf.

the child swf not accepting localconnection objects. can call method in child swf other way?

thanks, sri

i made mistake of adding code interacting loaded swf buttons in onloadcomplete listener doesn't work unless interacting loaded swf container only, dynamic text or buttons inside loaded swf can't accessed. control objects inside child (buttons, dynamic text etc) add code in onloadinit listener. example

mcllistener.onloadinit = function(childswf:movieclip, status:number):void {      childswf.btninsidechild.onrelease = function()      {         childswf._x += 10;     } }; 

moved loaded childswf clicking buttons inside loaded swf


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -