I'm unclear on the proper format for passing a QueryString Value using FlashVars, this is what I'm trying
<param name="FlashVars" value="part=<%= Request.QueryString["part"] %>" />
but this causes a parse/encode error and the swf doesnt load, same if I use single quotes ie
<param name="FlashVars" value="part=<%= Request.QueryString['part'] %>" />
Any takers?
Cheers
If you are working with HTML, use the variable itself:
<param name="FlashVars" value="part=valueOfPartGoesHere&anotherPart=anotherPartValueGoesHere" />
For embed tags (required for FF and other browsers):
<embed flashvars="part=valueOfPartGoesHere&anotherPart=anotherPartValueGoesHere" />
Fot this to be dynamic you have to run a PHP, ASP or other dynamic language/platform.
If you are using PHP, use:
<?php echo $_GET['part']; ?>
instead of
<%= Request.QueryString['part'] %>
For ASP:
<%= Request.QueryString("part") %>
And so on...