The html wrapper does not automatically pass parameters into the swf.
You need some java script like this to get the parameters into an array:
var _sPassedUrlParms = new String(document.location).split('?')[1]; //Get
any passed-in querystring parms
then pass that into the SF in the AC_FL_RunContent() function:
"flashvars", _sPassedUrlParms,
Tracy Spratt,
Lariat Services, development services available
_____
From: [email protected] [mailto:[email protected]] On
Behalf Of Vikram Singh
Sent: Wednesday, April 01, 2009 1:13 AM
To: Flex Coders
Subject: [flexcoders] Application.application.parameters.
Hello Everybody.
I am facing problem in getting value using
"Application.application.parameters."
I will run my application with "http://www.XYZ.
<http://www.XYZ.com/home.html?user_id=10> com/home.html?user_id=10
in Flex at initialize() function i wrote like this
user = Application.application.parameters.user_id
but i don't get value 10 in user variable which is declare like
[Bindable] private var user : uint;
is there any package to include for this?
-Vikram.
_____
Add more friends to your messenger and enjoy! Invite
<http://in.rd.yahoo.com/tagline_messenger_6/*http:/messenger.yahoo.com/invit
e/> them now.