I'm getting this error

TypeError: Error #1034: Type Coercion failed: cannot convert
com.qmecom.common.events::[EMAIL PROTECTED] to
com.qmecom.common.events.UploadAssetsModuleEvent.
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()

i'm loading a shared code module before this error occurs.

var m:IModuleInfo = ModuleManager.getModule(sharedCodeModule_url);
m.addEventListener(ModuleEvent.READY, 
        function (event:ModuleEvent):void
        {
                trace('READY');

I'm importing my class into my shared code module.

private var uploadAssetsModuleEvent:UploadAssetsModuleEvent;



What have I missed here????
The debugging for these types of problems is lacking severely!


Reply via email to