*In module event you find the url of the module loaded.* * * *moduleEvent.module.url*
Regards, Preetham Hegde On Mon, Feb 7, 2011 at 3:26 PM, Kronos <[email protected]> wrote: > Hi, > I am using a Module Loader that dynamically loads different modules in > the same Module Loader. The problem is if I am unloading a particular > module say "X" and loading any other, I need to call one last function > from X (like a destructor in C++) . > I need to know before I unload my module if X was loaded to call the > function. If I directly call the function without knowning which > module has been loaded, an error will be thrown since other modules do > not have the function that I want to call. > > Currently I have directly called the function before unloading & I > have used a try catch to ignore the error for other modules but i > think there should be a better way. > > Thnx in Advance. > Utkarsh Chachad > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

