Ban, 

You can use the flashvars parameters to pass information into the flex
app. Data assigned to the flashvars parameter can be read by checking
the parameters property of the application object. 

We use it to pass a url to a configuration XML file into our
application. Inside the app, we use the URLLoader to load the contents
of the file at the supplied url and then parse it for the various
configuration parameters. 

hope this helps,
oliver

--- In flexcoders@yahoogroups.com, "letterpigeon" <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>  
> I'm working on deploying a flex app for the very first time.  It's a
> standalone flex app, which talks to multiple java webapps using
> openamf.  So in development, I just harded the url's of the
> webapps/servlets.  What would the best way to load these information
> at runtime (maybe from properties files, etc) so that depending on the
> environment (dev, qa, prod), the flex app will communicate to the
> correct java servers?  Thanks.
>  
> Ban
>


Reply via email to