Thanks again. For anyone else with this problem, I ended up doing a search on the parameters for flex and stumbled across this post which works just fine:
http://www.abdulqabiz.com/blog/archives/macromedia_flex/how_to_get_url.php --- In flexcoders@yahoogroups.com, "Battershall, Jeff" <[EMAIL PROTECTED]> wrote: > > Take a look at the default html wrapper that is produced by Flex. You'll > see where the flashVars are set. Depending on what web application > platform you're on, you can dynamically pass in url parameters to the > application by dynamically altering a custom wrapper at runtime. > Another approach would be to use SWFObject > (http://blog.deconcept.com/swfobject/#examples). I'm sure there are > others as well. > > Jeff > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of netdeep > Sent: Thursday, May 29, 2008 11:28 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: launching flex with arguments > > > Jeff, thanks for the quick reply. Could you give me an example of > passing say a single > string? > > Is it something like the way the debugger works where you tack args on > to the end of the > url: > > http://localhost:8888/home/myApp.html?debug=true > > > --- In flexcoders@yahoogroups.com, "Battershall, Jeff" > <jeff.battershall@> wrote: > > > > Yes, you can pass variables to the Flex app via flashVars. These then > > can be accessed via Application.application.parameters.myVarName in > > your application. > > > > This would mean that you'd have to modify the default html wrapper, > > which is easy to do. > > > > Jeff > > > > -----Original Message----- > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > > On Behalf Of netdeep > > Sent: Thursday, May 29, 2008 10:59 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] launching flex with arguments > > > > > > Is there a way to launch a flex app and pass it arguments similar to > > java's > > > > public static void main(String [ ] args) ? > > > > > > ------------------------------------ > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links >