Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Embeding Flash Animation


Babysweet

Recommended Posts

Posted

Because I can not seem to find where the variable is located that defines the <img> tag for the banner I can not change it to <embed>.

My goal is to create a simular variable then change the <img> tag to <embed> so that my flash animated banner can be used.

I appreciate your assistance.

Sincerely,

Joseph Seabert

Posted

Look for this

 

  if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {
   if (!is_dir(DIR_FS_DOWNLOAD)) {
     $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');
   }
 }

 if ($messageStack->size('header') > 0) {
   echo $messageStack->output('header');
 }
?>

 

and after that put this code

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="header">
<td valign="middle">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="760" HEIGHT="85" id="delite" ALIGN="">
<PARAM NAME=movie VALUE="images/style.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="images/style.swf" quality=high bgcolor=#FFFFFF  WIDTH="760" HEIGHT="85" NAME="delite" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</td>

</tr>
</table>

 

replace the filenames and dimensions and it should be good, copied and pasted from my own header.php which I use flash in the header let me know if this helps

Posted

That did it, Thank you very much, I had tried doing a this exact thing however I attempted to do it in an echo statement, I see that it wasn't needed.

Sincerely,

Joseph Seabert

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...