[flexcoders] Module Design

2008-10-05 Thread ilikeflex
Hi I have two flex project - main flex project - module as another flex project Now i have two questions 1. I want to pass parameters from main flex project to flex module project so i am using the interface. I am creating interface in main flex project and it is being implemented by module

Re: [flexcoders] Module Design

2008-10-05 Thread Haykel BEN JEMIA
1. In my opinion you should create an interface that the main application implements, then access it from the module by casting the parentApplication property to this interface. 2. If you are using Flex Builder and your modules are in the same project as the main application, you could simply