set the url vars via:
var preLoadFlashVars = location.href.indexOf('?') != -1 ? location.href.split ('?') : '';
then pass this value into Flex by adding "flashvars", preLoadFlashVars to the AC_FL_RunContent method which loads your swf...
AC_FL_RunContent(
"src", "${swf}",
"width", "${width}",
"height", "${height}",
"align", "middle",
"id", "${application}",
"quality", "high",
"bgcolor", "${bgcolor}",
"name", "${application}",
"allowScriptAccess","sameDomain",
"flashvars", preLoadFlashVars,
"type", "application/x-shockwave-flash",
"pluginspage", " http://www.adobe.com/go/getflashplayer"
Brendan
On 10/4/06, jff_noyes <[EMAIL PROTECTED]
> wrote:
Sorry, stupid question for most...
I'm creating a demo. it has 2 pages - the first being html, the second
being a flex app (no data services).
If I send some parameters via url from the html page, how would Flex
accept those parameters. Lets say I wanted to make a label name == URL
variable.
Any help would be apprecieated. Thanks.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- [flexcoders] how to accept url parameters in flex 2 (n... jff_noyes
- Re: [flexcoders] how to accept url parameters in ... Brendan Meutzner
- Re: [flexcoders] how to accept url parameters... Prakash Bajracharya
- [flexcoders] Re: how to accept url parameters in ... passive_thoughts
Reply via email to

