PDA

View Full Version : Flash


rdjw2000
1-9-04, 09:56 AM
Anyone know the best/easiest way to incorporate flash .swf files into html and php documents? i have my site the way i like it, but i have a few flash banners and files i want to put in spots in both html and php pages...anyone know how? THanks

stevel
1-9-04, 10:13 AM
The Flash documentation will tell you how to do this, and I think the Flash tools will even generate the HTML for you. As for PHP, just have it write the appropriate HTML to the output stream.

BerksWebGuy
1-9-04, 10:20 AM
Flash has a 'publish' function, should be under the file menu. It will create a html page with the code on it...just copy and paste the flash code onto your page. As said above, for php you will need to have it correct on the output.

Good Luck:cool:

rdjw2000
1-9-04, 06:52 PM
for this correct output...anyone have an example? or somewhere i could get one?

BerksWebGuy
1-9-04, 08:59 PM
Any flash site probably has it. Here is an example code...of course you can chage the options (width, height, etc).

The code below checks the browser for the flash plugin...I suggest having it on all of your flash pages...and its shows on both IE and Netscape.

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=100% HEIGHT=225>
<PARAM NAME=movie VALUE="/images/menu.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=bgcolor VALUE=#F4F4F4> <embed src="/images/menu.swf" menu="false" quality="high" scale="exactfit" bgcolor="#F4F4F4" WIDTH="100%" HEIGHT="225" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</OBJECT>

stevel
1-9-04, 09:57 PM
That smiley face should be :D

BerksWebGuy
1-9-04, 09:59 PM
Originally posted by stevel
That smiley face should be :D

I don't know...I kinda like the smiley face there instead:D

Croc Hunter
1-10-04, 01:00 AM
This Thread (http://forum.powweb.com/showthread.php?s=&threadid=30851) May help with the html part.

What are you Flashing with?.