I am trying to use SWFObject to deal with content.
Could someone post eaxmple code to help me. My current code for the flash object I am using is as follows:- <embed src="player.swf" width="320" height="20" allowfullscreen="true" flashvars="&file=King of Kings.mp3&height=20&width=320" /> I have been playing aroung all weekend and still cannot figure out how to work within SWFObject
<div id="flashcontent"> This text is replaced by the Flash movie. </div>
<script type="text/javascript"> var so = new SWFObject("movie.swf", "mymovie", "400", "200", "8", "#336699"); so.write("flashcontent"); </script>
</body>
Since you're trying to pass variables using FlashVars, be sure to read the section named "Passing variables into your movies using the "Flashvars" parameter"