This example could help http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/
Regards, Kaushik K On Wed, Aug 12, 2009 at 12:12 PM, Paritosh Bisi <paritosh.b...@gmail.com>wrote: > > Hi Kaushik, > > Thanks for the reply. Can you provide some code example. > > Best Regards, > Paritosh > > On Aug 12, 11:25 am, Kaushik K <kaushik.krishnaku...@gmail.com> wrote: > > Hi Paritosh, > > > > 2 ways i know it can be done > > > > 1. Typecast the module to the specific class . Then u'll get the access > to > > methods > > 2. Module Implements a common interface, The caller can invoke methods > on > > the interface. This would be a preferred method coz u'll program to an > > interface. > > > > Regards, > > Kaushik K > > > > On Wed, Aug 12, 2009 at 10:07 AM, Paritosh Bisi <paritosh.b...@gmail.com > >wrote: > > > > > > > > > Hi All, > > > > > I am trying to develop a module, suppose the main application is > > > module1.mxml, the module has some .as classes also. My doubt is how > > > can I call a method in module1.mxml from these classes. If a normal > > > application I can access the properties and methods by calling like > > > Application.application.testMethod(), but in case of module I am not > > > sure about the design. Any idea or example to achieve the same then > > > please share. > > > > > Best Regards, > > > 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_india@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=en -~----------~----~----~----~------~----~------~--~---