That's interesting - can you provide some details?

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of kenny14390
Sent: Thursday, May 29, 2008 12:57 PM
To: [email protected]
Subject: [flexcoders] Re: launching flex with arguments


This method does not validate XHTML, though.

--- In [email protected], "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: [email protected] [mailto:[EMAIL PROTECTED] 
> On Behalf Of netdeep
> Sent: Thursday, May 29, 2008 11:28 AM
> To: [email protected]
> 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 [email protected], "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: [email protected] [mailto:[EMAIL PROTECTED]
> > On Behalf Of netdeep
> > Sent: Thursday, May 29, 2008 10:59 AM
> > To: [email protected]
> > 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
>



------------------------------------

--
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



Reply via email to