Look into FlashVars http://livedocs.adobe.com/flex/2/docs/00001001.html http://livedocs.adobe.com/flex/2/docs/00001005.html http://ray.camdenfamily.com/index.cfm/2006/12/11/FlashVars-in-Flex http://yakovfain.javadevelopersjournal.com/passing_parameters_to_flex_that_works.htm
regards, Muzak ----- Original Message ----- From: "Tony Obermeit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 12, 2007 9:30 PM Subject: [flexcoders] Re: user configuration file > For the flex application, the configuration of which URLs to access > etc can come from a single, server side configuration. That can be > done however you need to with your server side language. To pass > these configuration values in to your swf file, you need to > dynamically generate the html which calls your swf. Make sure the > generation creates javascript variables which have the configuration > values. The flex application can read these values. I don't recall > the syntax to do this but there have been relatively recent posts > that show how. > > Tony > > Posted by: "simonjpalmer" [EMAIL PROTECTED] simonjpalmer > Thu Apr 12, 2007 6:33 am (PST) > > check out flex sharedobject > > --- In [EMAIL PROTECTED], "lruinelli" <[EMAIL PROTECTED]> wrote: > > > > Hello! > > > > I'm developing an application which need some configuration parameter > > to run correctly. E.g. the url of servlet used change frequently (the > > application is in develop!)...and I have to update every time all the > > MXML file and recompile the application:-( > > ...in desktop win application for this kind of configuration I > usually > > use somthing like file ".ini" where I put my configuration, wich are > > loaded by the application: > > e.g. > > config.ini: > > SERVLET_PATH=http://localhost:8080/servlethome/ > > > > what is the flex-as best pratices for this kind of stuff? > > > > > > thanks > > Lorenzo > > >