I was looking into the ModuleManager code, and found something wear.

    /**
     *  @private
     */
    public function completeHandler(event:Event):void
    {
        //trace("child load of " + _url + " is complete");

        var moduleEvent:ModuleEvent = new ModuleEvent(
            ModuleEvent.PROGRESS, event.bubbles, event.cancelable);
        moduleEvent.bytesLoaded = loader.contentLoaderInfo.bytesLoaded;
        moduleEvent.bytesTotal = loader.contentLoaderInfo.bytesTotal;
        dispatchEvent(moduleEvent);
    }


I begin look after that when my modules stop loading (after update from flex
2 to flex 3) and no error event was dispatched.

So, any suggestion?  My module don't dispatch ModuleEvent.READY or
ModuleEvent.ERROR. Only ModuleEvent.PROGRESS events.  This may be the
problem source?

I try to mimic my complete handler when moduleEvent.bytesLoaded ==
moduleEvent.bytesTotal but no success...

Any know workaround?

All my modules use RSL.  Is that a problem?


VELO

Reply via email to