Try this:
public var modResult:Object;
private function onModuleReady( event:Event ):void
{
modResult = (modMyModule2.child as myResults);
modResult.searchResults = arrSearchResults;
}
Also if you are using an Interface you need to reference the Interface
within both the Application and the Module.
Check out this blog for some more information:
http://weblogs.macromedia.com/pent/
Good Luck.
LD
--- In [email protected], "Roger Gonzalez" <[EMAIL PROTECTED]> wrote:
>
> For what its worth, it appears at first glance that your code should
> work.
>
> Have you tried strong typing rather than using "*"?
>
> var results:IResults= IResults(modMyModule2.child)
>
> Not sure why it isn't working though, sorry.
>
> -rg