Click to See Complete Forum and Search --> : swf file and HTML


rlsailu
01-15-2005, 02:22 PM
Hii..
I need some help in embedding a flash file into a HTML document.

The webpage should have a link,and when the user clicks the link then the movie shud come up..

kindly help..

Thanks

LiLcRaZyFuZzY
01-16-2005, 04:44 AM
hi, so basically u would have to:
1. embed the flash in a html file

<html>
<head>
<title>Embed Flash</title>
</head>
<body>
<object type="application/x-shockwave-flash" data="movie.swf" width="400" height="300">
<param name="movie" value="movie.swf" />
</object>
</body>
</html>

2. have another html file with a link that opens in the same window(_top)

<html>
<head>
<title>Link to flash</title>
</head>
<body>
<a href="embedflash.htm" target=" _top">Start Movie</a>
</body>
</html>