Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Flash Animation


vbtrev

Recommended Posts

Hi, I seem to be having a problem getting flash to show on the main page. Flash is installed and i use it all the time, so i know my pc can show flash files.

 

I have the code in but it only shows an X, if i put an image name with .gif or .jpg the image shows, if i put .swf the X appears, the swf file and the .gif&.jpg are all in the same folder .

 

Here is the code for the images these work fine

 

<table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/phone_single.jpg', "Telephone") . '</td>

 

 

for the flash mx .swf i changed it to this.

 

<table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/phone_single_ani.swf', "Telephone") . '</td>

 

this just shows an x.

 

I have spent the last 4 days searching the forum, there are no references to this, hence my posting.

 

Many thanks for your help in advance

 

T

Link to comment
Share on other sites

Hi, I seem to be having a problem getting flash to show on the main page. Flash is installed and i use it all the time, so i know my pc can show flash files.

 

I have the code in but it only shows an X, if i put an image name with .gif or .jpg the image shows, if i put .swf the X appears, the swf file and the .gif&.jpg are all in the same folder .

 

Here is the code for the images these work fine

 

<table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/phone_single.jpg', "Telephone") . '</td>

for the flash mx .swf i changed it to this.

 

<table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/phone_single_ani.swf', "Telephone") . '</td>

 

this just shows an x.

 

I have spent the last 4 days searching the forum, there are no references to this, hence my posting.

 

Many thanks for your help in advance

 

T

 

Hi,

I was just looking through your code, and I think that I can identify your problem. Flash is called up differently than regular images. Unlike regular images which use a <img src = Flash must be embedded. There's an easy to use contrib at that will walk you through this at

 

http://www.oscommerce.com/community/contri...ll/search,Flash

 

It's really only a matter of creating a duplicate html_output.php file setup for flash and then referencing the new file whenever you want to include flash.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...