PDA

Click to See Complete Forum and Search --> : HELP! how 2 add 2 homepage?



justus_ragnarsson
01-29-2002, 10:41 AM
HI! this i a really stupid q so donīt laugh plz :)
I wonder how 2 add my swf file 2 my homepage.. whatīs the html code 4 doing that? anyone who knows? i would be really grateful i someone could reply..

Well :) hope u answer

siridhar
01-29-2002, 10:52 AM
Manually insert the <OBJECT> and <EMBED> tags into your existing HTML page as in:

<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="100"
HEIGHT="100" CODEBASE="http://active.macromedia.com/flash5/cabs/
swflash.cab#version=5,0,0,0">
<PARAM NAME="MOVIE" VALUE="moviename.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="QUALITY" VALUE="high">

<EMBED SRC="moviename.swf" WIDTH="100" HEIGHT="100" PLAY="true"
LOOP="true" QUALITY="high"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>

</OBJECT>

-----

Be sure you change the .swf name, width and height of the movie. (at 2 locations in the above code)

Also, see this page: http://www.macromedia.com/support/flash/ts/documents/html_editor.htm

blanius
01-30-2002, 04:01 AM
Originally posted by justus_ragnarsson
HI! this i a really stupid q so donīt laugh plz :)
I wonder how 2 add my swf file 2 my homepage.. whatīs the html code 4 doing that? anyone who knows? i would be really grateful i someone could reply..

Well :) hope u answer Simplest thing is to cut and paste the Html that 3DFA generates when you export your Movie to swf. Look in the Html file and copy everything from
<Object

To

</Object>

MrJoseph
01-30-2002, 11:06 AM
Originally posted by justus_ragnarsson
HI! this i a really stupid q so donīt laugh plz :)
I wonder how 2 add my swf file 2 my homepage.. whatīs the html code 4 doing that? anyone who knows? i would be really grateful i someone could reply..

Well :) hope u answer
HI!
Another way that You can use in addition to the previous ones.

As you know, generally the HTML editors Front Page/ActualDrawing/ bring a Insert menu with several options: i.e. Insert Swf, or ShockWave/Java Applet/Plug-in/ActiveX Control.

What this generates is a HTML container, for your Plug-in (SWF), The advantage of this is that

You can locate your container in any place within the Web page (Drag and Drop) with the code that generates IFA.
With the security that will appear in his browser in the exact place that you assigned:

Please Check Out Still Image http://www.josephbrowndesigns.com/3dflash/swfcode.jpg

I trust that this helps to complement

Joseph