Roger,
 Would it be possible to get an example of how a shell app could
communicate or pass data to a module and vice versa. I'm  having
difficulty understanding of how to expose methods on both sides that
allow for interoperability. What I'd like to do is to load  user data in
the shell application and then add modules at runtime as needed. If they
require user information then have them look to the shell for that
information so it's always in the same place.
 
And Also, I can't really see any real difference between a module and
another application except for it's extremely tedious to debug the
modules?!  Couldn't the module automatically look for a debug version of
the swf if the shell is a debug version? 
 
Thanks,
Brian
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Gonzalez
Sent: Monday, January 08, 2007 2:35 PM
To: [email protected]
Subject: RE: [flexcoders] Re: Compiling modules


I can't think of any reason why you would want to do this.
 
Modules are class factories, not instances.
 
You will create an instance of the class baked into the module, and then
the application can pass those parameters to the instance.
 
-rg


________________________________

        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of John Kirby
        Sent: Monday, January 08, 2007 12:32 PM
        To: [email protected]
        Subject: Re: [flexcoders] Re: Compiling modules
        
        

        Thanks for the examples.
        
        Question... if you are passing parameters to a module I assume
your url syntax is the same as a SWFLoader (myswf.swf?foo=bar) ... but
module has no parameter property?  How do access passed parameters to a
module?
        
        phillips1021 said the following: 

                See: 
        
http://www.brucephillips.name/blog/index.cfm/2007/1/8/Example-Of-Using-M
odules-In-Flex-201
<http://www.brucephillips.name/blog/index.cfm/2007/1/8/Example-Of-Using-
Modules-In-Flex-201> 
                
                for a simple example.
                
                


        -- 
        Whether you think that you can, or that you can't, you are
usually right.
         - Henry Ford 
        

        

 


***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***

Reply via email to