Hello everyone I have the following problem.
I am trying to make a module that in turn will call another module, but
the information from the main App is not reaching the most inner module
I don't why I am getting the error 1009 (Null method or object)
Flow of data:
Main App-> Module 1 -> Module 2
What I do is I load the information through the interface from Main App
to Module 1, then inside Module 1 I initialize Module 2 and send the
data to Module 2. The Information is in Module 1 as I see the
information loaded. and before I call the interface from module 1 to
module 2, the information is loaded.
when I do the following call is when I get the error
var ichild_gal:* = id_galeria.child as IGaleriaInterface;
if (id_galeria.child != null)
{
ichild_gal.setGaleria(xmlData);
}
the above code is called when the ready event of the load module2 is
generated.
this is in Module 2. xmlModulo2 is bindable and MLListCollection
public function setGaleria(xmlData:XMLListCollection):void
{
xmlModulo2=xmlData;
}
Thanks
Terius