Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to install flash movie?


hitman0042

Recommended Posts

Mason,

 

Actually you will want to publish it using adobe to create a .swf file. Once you have done that, you can add the code to the index.php file in the appropriate spot. The code is:

 

<table style="width:1000px; height:200px" align="center">

<tr>

<td width="1000px" height="200px" valign="top" cellpadding="0" cellspacing="0" border="0">

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24" width="1000" height="200">

 

<param name="movie" value="http://yoursite.com/[catalog]/images/yourfile.swf">

<param name="quality" value="high">

<param name="menu" value="false">

 

<!--[if !IE]> <-->

<object data="http://yoursite.com/[catalog]/images/yourfile.swf"

width="1000" height="200" type="application/x-shockwave-flash">

<param name="quality" value="high">

<param name="menu" value="false">

<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">

FAIL (the browser should render some flash content, not this).

</object>

<!--> <![endif]>

</object>

 

</td>

</tr>

</table>

 

Of course you would change the image width and height and the URL and file name to suit your needs.

 

 

 

Chris

Link to comment
Share on other sites

Mason,

 

I use CS4 but, any version of Adobe Flash Animator will work. Without seeing the site, it would usually be placed in this area:

 

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td class="main"><?php echo TEXT_MAIN; ?></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

</tr>

 

 

 

Chris

Link to comment
Share on other sites

Mason,

 

I use CS4 but, any version of Adobe Flash Animator will work. Without seeing the site, it would usually be placed in this area:

 

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td class="main"><?php echo TEXT_MAIN; ?></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

</tr>

 

 

 

Chris

Do i paste it over it? after it? before it?

Link to comment
Share on other sites

Mason,

 

I would integrate the code above the TEXT MAIN area. As I said, you may have to change the table layout to incorporate it into the site, but that is where it should be placed.

 

 

 

Chris

Link to comment
Share on other sites

Mason,

 

I would integrate the code above the TEXT MAIN area. As I said, you may have to change the table layout to incorporate it into the site, but that is where it should be placed.

 

 

 

Chris

 

Does not work.

 

I will have find someone else to help me. Thanks!

Link to comment
Share on other sites

Mason,

 

I have installed it like that on dozens of sites, it does work but perhaps your index.php is not standard. In which case, you will need to code it properly to fit into your site.

 

Good luck

 

 

 

Chris

Link to comment
Share on other sites

Mason,

 

I have installed it like that on dozens of sites, it does work but perhaps your index.php is not standard. In which case, you will need to code it properly to fit into your site.

 

Good luck

 

 

 

Chris

 

Yer i do not know how to do it.

 

Ill find someone who can do it for me or something like that. Everytime i try, it wrecks.

Link to comment
Share on other sites

  • 2 weeks later...

this is the from the banner manager:

 

Use an image or HTML text for the banner - not both.

HTML Text has priority over an image.

use this text;

 

<object data="images/your swf file name.swf" type="application/x-shockwave-flash" width="your width here" height="your height here">

 

<param name="movie" value="images/your swf file name.swf">

 

</object>

<object data="images/your swf file name.swf" type="application/x-shockwave-flash" width="your width here" height="your height here">

         <param name="movie" value="images/your swf file name.swf">

</object>

 

 

from your index.php or homepage put this where you want it:

 

  <tr>
           <td class="main"><?php echo TEXT_MAIN; ?></td>
         </tr>

 

it comes from catalog/includes/languages/english/index.php and will look like this:

 

define('TEXT_MAIN',' ]<object data="images/your swf file name.swf" type="application/x-shockwave-flash" width="your width here" height="your height here">

         <param name="movie" value="images/your swf file name.swf">

</object>');

 

 

once again good luck!!

 

craig

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...