Tuesday, May 12, 2009

Code for putting Flash File within HTML web page



Flash movie file will be stored .swf when exporting it from Flash.

We need to embed this .swf file within HTML code to display the flash movie in the webpage.

It can be done using below code.


<object width="550" height="400">
<param name="movie" value="home.swf">
<embed src="home.swf" width="550" height="400">
</embed>
</object>


Actually, Object tag and the Embed tag will do the samething. i-e Either Object tag or Embed tag is enough to display the flash movie.

But need to use both of them to make it work in all browsers.
More Articles...

No comments:



Thanks for visiting our blog


twitterrss facebook linkedin YouTube subscribe


Subscribe via email

Enter your email address: