How to pass fashvars using AS3 and Swfobject

Swfobject has become the most popular choice for embedding flash content on the web. They’ve made it extremely easy to pass variable (flashVars) in to flash using two type of syntax. Take a look at the example below:

<script type=”text/javascript”>

var flashvars = {};

swfobject.embedSWF(“myContent.swf”, “myContent”, “300”, “120”, “9.0.0”,”expressInstall.swf”, flashvars);


Leave a Reply

Your email address will not be published. Required fields are marked *