Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: ModuleLoader:at Mediator , I can't get module's sub Object  (Read 3250 times)
GlenSun
Newbie
*
Posts: 1


View Profile Email
« on: September 04, 2008, 02:24:19 »

I have a question about ModuleLoader.

when I registe Mediator, I want to add a Listener to moduleLoader's module, which contain a button.

but I can't get button object, how can I do :-\
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: September 04, 2008, 04:41:50 »

Have you instantiated the module? You must not only load, but also create an instance using the IModuleInfo interface.

Try the debugger to see what you really have.
-=Cliff>
Logged
Pages: [1]
Print