...

View Full Version : QueryString in flashVars



quentin
03-15-2005, 01:23 AM
i am using flashvars in flash mx 2004

it works with mozilla but not with IE

<param name="flashVars" value="url1=index.htm?v=1&url2=index.htm?v=4" />

i must get index.htm?v=4 or index.htm?v=1 .... and not index.htm

how can i do it ?

thank you

alexcq
03-27-2005, 12:29 PM
Hi Quentin,

You need to place the flashvars in two places with correct escaping in order to get them to work correctly, (object tag and the embed tag). Here's a small javascript function that will write the HTML for your flash with all the flashvars correctly escaped and in the right places,

http://www.centralquestion.com/archives/2005/03/writeflash_flas.html

HTH,
Alex.

JamieR
03-27-2005, 09:20 PM
This would be better off in teh Graphics/Multemedia Forum (http://www.codingforums.com/forumdisplay.php?f=32) rather than this one. Ask a mod. to move it:D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum