Sounds like an applicationDomain topology problem.  See the  modules 
presentation on my blog.  Make sure the interface is linked into the main app.

From: [email protected] [mailto:[email protected]] On Behalf 
Of Nate Beck
Sent: Wednesday, January 14, 2009 8:12 PM
To: [email protected]
Subject: Re: [flexcoders] Interfaces not working the way I understand anyway


Post code please.
On Wed, Jan 14, 2009 at 3:08 PM, mmormando 
<[email protected]<mailto:[email protected]>> wrote:

Ok, I've got a module implemented in an mxml file that implements an
interface IMyInterface, so marked with the
implements="com.my.interface.IMyInterface" tag in the right place. So,
after dynamically loading the module I try to either cast it to
IMyInterface, or check it with "is", and it says that it isn't an
IMyInterface. In straight actionscript it seems to be working fine,
and if I keep the instance as a raw object and try calling any of the
methods that are defined in IMyInterface it works. And if I change
IMyInterface and recompile without changing my mxml file I get the
compiler error that MyInterfaceImplementation.mxml doesn't implement
IMyInterface.
Anyone know what's going on??
tia
Mike



--

Cheers,
Nate
----------------------------------------
http://blog.natebeck.net


Reply via email to