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 link the swc to the main app and
configure the modules to be optimized for the application.


On Sun, Oct 5, 2008 at 8:24 AM, ilikeflex <[EMAIL PROTECTED]> wrote:

>   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 flex project.
>
> Now if i want to pass parameters from flex module to main flex
> project should i create another interface in the flex module project
> and implement in the main flex project. Is this the correct way???
>
> I do not want to use Application.application because i want to my
> modules to be reusable.
>
> 2.Tomorrow i want to create another module.My old module and new
> module use same third party swc files.So should i load the swc in
> main project or individual modules projects.
>
> Any thoughts???
>
> thanks
> ilikeflex
>
>  
>



-- 
Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com

Reply via email to