Hi All, I have a doubt in module. My module has a public method, I want to call this method from one as class which is included in the module.
--------------- TestModule.mxml --------------- <?xml version="1.0"?> <mx:Module name="TestModule" xmlns:mx="http://www.adobe.com/2006/ mxml"> <mx:Script> <![CDATA[ public function getModuleName():String { return "TestModule"; } ]]> </mx:Script> </mx:Module> --------------- TestClass.as - Is included in this module --------------- package { public class TestClass { public function testing():void { //I want to call the method getModuleName() from this class } } } Thanks, Paritosh -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.