This was a nice little exercise getting some name value pair data into an embedding flash object. swfobject 2.0 has a great new way to pass objects with your variables to your swf.
This is the javascript:
<script type=”text/javascript” src=”scripts/swfobject.js”></script>
<script type=”text/javascript”>
var flashvars = {dataFeedXML: “./data/regions_feed.xml”};
swfobject.embedSWF(”swf/filename.swf”, “flashDiv”, “687″, “486″, “9.0.0″, “swf/expressInstall.swf”, flashvars);
</script>
I had to use the dot […]
Continue reading " using flashvars with swfobject 2.0 and as3 "