Please use the following code sniplet where i am passing variables to
the swf file.
<param name="FlashVars" value="coachId=1&playrType=R&SportId=1" />
<param name="quality" value="high" />
<embed src="E:\Projects\rushrecruit.swf"
flashvars="coachId=1&playrType=R&SportId=1"
class="flexControl" />
You will have to use the following for IE
<param name="FlashVars" value="coachId=1&playrType=R&SportId=1" />
for Firefox you will need
<embed src="E:\Projects\rushrecruit.swf"
flashvars="coachId=1&playrType=R&SportId=1"
class="flexControl" />
Here i will keep the swf file in the DIV of the html
<object id="something" name="something" classid="clsid:d27cdb6e-
ae6d-11cf-96b8-444553540000" width="80%" height="100%"
align="middle" codebase="https://
fpdownload.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,0,0">
<param name="movie" value="E:\\rushrecruit.swf">
<param name="quality" value="autohigh">
<param name="bgcolor" value="#FFFFFF">
<param name="allowScriptAccess" value="always" />
<param name="FlashVars"
value="coachId=1&playrType=R&SportId=1" />
<param name="quality" value="high" />
<embed src="E:\rushrecruit.swf"
flashvars="coachId=1&playrType=R&SportId=1"
class="flexControl" />
</object>
just change the flashvars (I am using coachId and playrType) in this
case
Cheers
Varun Rathore
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---