How do you incorporate flash movies into web pages. what code is it?
------------------
Tomorrow your life starts again
Printable View
How do you incorporate flash movies into web pages. what code is it?
------------------
Tomorrow your life starts again
The Embed statement does it:Quote:
Originally posted by maurice:
How do you incorporate flash movies into web pages. what code is it?
<embed src="logo_Scene%201.swf" width="100%" height="100%">
------------------
If I rest, I rust.
--Indian Proverb
[This message has been edited by Klashe (edited February 19, 2001).]
Only in Netscape, you use the Object Tag in IE.
Or, you could use the program's code which gives u the most flexibility with the look of ur movie etc...
In flash, you can go File, Publish Preview, HTML which will generate you a html document as well a the *.swf for your flash movie.
This will use the following code:
<OBJECT classid="clsid https://www.sharkyforums.com/images/.../2005/08/2.gif27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=nav WIDTH=320 HEIGHT=240>
<PARAM NAME=movie VALUE="urmovie.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="urmovie.swf" quality=high bgcolor=#FFFFFF WIDTH=320 HEIGHT=240 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
if u insert ur movie into dreamweaver, it gives u the same code...with the different bgcolor values, u can change the background colour of the actual movie. the it uses the embed and object tags working well in both browsers/
------------------
"There are two steps to success: 1. Never tell everything you know 2. See #1"