11/25/08

Insert Flash In to HTML

To insert flash into HTML, please use this code :



<object height="Y" width="X">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" height="Y" width="X"></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.. This is the minimum code you need to embed a Flash movie in a browser. A broken icon will appear on the Web page if the user does not have the Flash plug-in installed.

Now test in your browser.Get a new style of your web !

0 comment: