We help IT Professionals succeed at work.

Can I  invoke one module's front controller in another module's front controller?

Lets consider a there are two modules A and B

B wants to use A's commands. but A's front controller is not initialized. . How can I initialize the A' controller if it  is not initialized. Is there any way to find that in flex?

Please let me know.

Thanks in advacne

Viswanth K Raghava
Comment
Watch Question

Commented:
I'd say you cannot since the module A is not initialized...  You'd have to wait until A is initialized and then use its method, or you simply cannot...

CyanBlue

Author

Commented:
Can I initialize A's front controller when ever I need it in the action script.

Commented:
If you mean class, yes...

CyanBlue

Author

Commented:
Will that not be a problem again when  the module creates the instance of the controller again.

Commented:
Maybe, maybe not...  It all depends on what that class does...  I cannot really answer that cuz that's just too vague question...  

CyanBlue

Commented:
Any update???  Please elaborate if you still have the problem, otherwise close the topic...  Thanks...

CyanBlue