Link to home
Create AccountLog in
Avatar of Torrwin
TorrwinFlag for United States of America

asked on

How to embed SWF in an HTML page?

Hello,

I have a SWF file that a co-worker sent me that has been generated by Crystal Xcelsius (not a flash editing program).  He wants me to put the SWF file on our website, and have it open in a new window.  

How do I embed a flash file into an html file?

Thanks,
-Torrwin
Avatar of ncoo
ncoo

The following code will do the job:

<html>
<head>
</head>
<body>
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>
</body>
</html>

Read more here: http://www.w3schools.com/flash/flash_inhtml.asp
ASKER CERTIFIED SOLUTION
Avatar of ncoo
ncoo

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer