All projects need to have IModuleInterface in the source-path

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Wednesday, May 14, 2008 4:40 PM
To: [email protected]
Subject: [flexcoders] Re: Module Communication

 

hmmm...looking more at this maybe it has to do that I have my modules
in different projects and am compiling the swfs in to the bin of my
main app?

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Nate Pearson" <[EMAIL PROTECTED]> wrote:
>
> I'm trying to get my parent app to speak to my module.
> 
> I got:
> private function initBurndown():void{
> var ichild:* = burnDown.child as IModuleInterface; 
> iChild.iteration = 3 //I get a setter method for iteration in the
> module
> }
> 
> and 
> 
> <mx:ModuleLoader id="burnDown" url="Burndown.swf"
ready="initBurndown()"/>
> 
> Flex builder errors out and says "Access of undefined property
> IModuleInterface" :(.
> 
> Any ideas?
> 
> Thanks!
> 
> Nate
>

 

Reply via email to