tags:

views:

43

answers:

4

how to load external flash in html..?

+1  A: 

<embed>

Filip Ekberg
A: 
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>

In the code above there is both an <embed> tag and an <object> tag. This is because the <object> tag is recognized by Internet Explorer, and Netscape recognizes the <embed> tag and ignores the <object> tag.

alemjerus
A: 
<embed src="SRC_URL" type="application/x-shockwave-flash"></embed>
+1  A: 

Don't worry about which tag to use. Grab the swfobject javascript file and let it do the work for you.

Carl
I'd recommend using this as it provides a neat way to use flash and provide alternate content if the user doesn't have flash/javascript
Jeepstone