I think you're passing the vars to the html page, but not the swf.
You can use flashvars or just append a querystring to the swf url and you
should be able to trace them
Cheers
Juan Pablo Califano.
2008/12/16 Ali Drongo alidro...@googlemail.com
Hi there, I'm passing a variable to my swf
http://www.mydomain.com/index.html?passedPage=180
This won't pass into flash as a flashvar. You have a few options though.
- Use Javascript to grab the query string and then write it in as a
flashvar or query string to the swf. (ex: MySwf.swf?passedPage=180
- Make an ExternalInterface
-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nate Beck
Sent: Tuesday, December 16, 2008 10:35 AM
To: Flash Coders List
Subject: Re: [Flashcoders] How to access var passed in URL from AS2 class
http://www.mydomain.com/index.html?passedPage=180
...@chattyfig.figleaf.com] On Behalf Of Nate Beck
Sent: Tuesday, December 16, 2008 10:35 AM
To: Flash Coders List
Subject: Re: [Flashcoders] How to access var passed in URL from AS2 class
http://www.mydomain.com/index.html?passedPage=180
This won't pass into flash as a flashvar. You have a few
: Tuesday, December 16, 2008 11:17 AM
To: Flash Coders List
Subject: Re: [Flashcoders] How to access var passed in URL from AS2 class
Hey that's cool, I didn't know that existed. Thanks whispers!
--
Cheers,
Nate
http://blog.natebeck.net
On Tue, Dec 16, 2008
5 matches
Mail list logo