RobotLegs 1.3 with Flex4 and ModuleManager factory.create

Siddharth's Avatar

Siddharth

27 Sep, 2011 07:36 AM

Hi,

I am building a large modular app in Flex4 using a ModuleManager which loads multiple flex module swf files... Now when I do factory..create as anything...I am unable to see the module visually on screen. The module ready handler fires but cannot see the added child. Now..., when I " Comment " the following statement inside the AppShell's context file : viewMap.mapType(Module1) , then everything starts working... So should I map the Module after I have loaded it ??? or is there any standard flow to load modules using Module Manager in Flex 4 with the RobotLegs framework ?

Thanks!

  1. 1 Posted by Siddharth on 27 Sep, 2011 11:07 AM

    Siddharth's Avatar

    Hey... Figured out the problem! a little oversight as I was doing viewMap.mapType to the Module Class, whereas I should have been doing that to an interface that the module implements !

    thanks
    Regards,
    Siddharth

  2. Ondina D.F. closed this discussion on 01 Nov, 2011 05:12 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac