Here is an example showing the minimum amount of code needed to embed a Flash movie:
- Code: Select all
This text is replaced by the Flash movie.
var so = new SWFObject("movie.swf", "mymovie", "400", "200", "8", "#336699");
<div id="flashcontent">[your flash content/player will appear here.]</div>
here is the parameters information to pass your flash details in JS code to show/load on that on page.
var so = new SWFObject(swf, id, width, height, version, background-color [, quality, xiRedirectUrl, redirectUrl, detectKey]);
You can use this to make fullscreen or screen resolution adaptive websites in Flash.
Click Here to Download SWFOBJECT.JS