Fork me on GitHub

Flash Code  Bottom

  • Ok I have trolled through the forum looking for flash related posts. And while some were helpful I still couldn't find a basic answer to my question. I am manually configuring the basic theme that comes with .75 the ExtraLite. Ok so I figured out how to change the banner logo, but I have created a .swf file that I would like to put in there.


    So I have just cut the tag out with all the param location etc and tried to past it in the theme.php file. This of course didn't work. I know this is some simple format problem but how do you put it in the actual theme?


    Code

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
      codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0"
      id="cm" width="100%" height="100%">
      <param name="movie" value="cm.swf">
      <param name="bgcolor" value="#000000">
      <param name="quality" value="high">
      <param name="allowscriptaccess" value="samedomain">
      <embed type="application/x-shockwave-flash"
       pluginspage="http://www.macromedia.com/go/getflashplayer"
       width="100%" height="100%"
       name="cm" src="cm.swf"
       bgcolor="#000000" quality="high"
       swLiveConnect="true" allowScriptAccess="samedomain"
      ></embed>
    </object>


    I put the above code in the theme.php but surrounded it in the pnBannerDisplay()

    So my question is do I need something like:

    "
    " .

    do I follow the scripting convention like the other entries? I have moved around the source file already and changed the location in my code but I think it's more of a basic misunderstanding of how to put an object in PHP code.

    Any help would be appreciated.
  • Ok I got it to work using the
  • 0 users

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