- Moderated by:
- Support
-
- rank:
-
Softmore
- registered:
- April 2003
- Status:
- offline
- last visit:
- 04.12.03
- Posts:
- 76
I'm trying to add flash to my site and i'm striking out. i've done a search and tried some of the stuff, but with no luck, can someone please give me a little more info about how to put flash into the theme.php. Please, i need step by step instructions because i'm new (2 weeks) to PHP. here is the code for where the logo is:
Code
."<td bgcolor=\"#000000\" width=\"570\" valign=\"top\">\n"
."<a href=\"index.php\"><img src=\"themes/Bitrate/images/logo.gif\" align=\"center\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
."<td bgcolor=\"#000000\" align=\"right\" width=\"200\">\n"
thanks for any help -
- rank:
-
Freshman
- registered:
- May 2003
- Status:
- offline
- last visit:
- 05.08.03
- Posts:
- 48
Quote
<param name="MOVIE" value="NAME_OF_FILE.swf">
<param name="PLAY" value="true">
<param name="LOOP" value="true">
<param name="QUALITY" value="high">
<param name="SCALE" value="noborder">
</param></param></param></param></param>
Try this out!
--
Regards,
NPereira
www.npereira.com
www.electricwings.com
www.lesailerons.net -
- rank:
-
Freshman
- registered:
- May 2003
- Status:
- offline
- last visit:
- 05.08.03
- Posts:
- 48
Here, try this by adding at the end of your code above :
Code
."<tr>\n"
."<td bgcolor=\"#000000\" align=\"right\" width=\"200\">\n"
."<object CLASSID=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" WIDTH=\"100%\" HEIGHT=\"50\"
CODEBASE=\"http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0\">
<param name=\"MOVIE\" value=\"NAME_OF_FILE.swf\">
<param name=\"PLAY\" value=\"true\">
<param name=\"LOOP\" value=\"true\">
<param name=\"QUALITY\" value=\"high\">
<param name=\"SCALE\" value=\"noborder\"><embed SRC=\"NAME_OF_FILE.swf\" WIDTH=\"100%\" HEIGHT=\"50\" PLAY=\"true\" LOOP=\"true\" QUALITY=\"high\"
scale=\"noborder\"
PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">
</object>\n"
Don't forget to change the NAME_OF_FILE.swf to the name of your swf file located in the same directory as this index file. You may need to play arround with the settings.
--
Regards,
NPereira
www.npereira.com
www.electricwings.com
www.lesailerons.net
