Forum Activity

Forum feed

» see all | » latest posts

Confused about flash banner/logo  Top

  • 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
  • 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
  • so how would i incorporate that into my code listed above?? like i said, i'm really new to PHP, so i need more direction.
  • if your file is index.php put it in there. You can put it in a table like the one you have listed above.

    --
    Regards,

    NPereira
    www.npereira.com
    www.electricwings.com
    www.lesailerons.net
  • 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
  • okay, i'll try that, thanks
  • IT WORKS!!!! :D

    Thanks for the info and the quick response

This list is based on the users active over the last 60 minutes.