Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

The page I want to reference a Flash file: http://developdesign.com/shop/home.php

 

The area that displays the graphic quilt image would be replaced by a Flash slide show that uses XML to reference a group of JPG images.

 

Slide show works if referenced in sts_template" folder: http://developdesign.com/shop/includes/sts...ideshow_as2.swf

 

or within PHP and HTML files in seperate folder: http://www.developdesign.com/shop/homepage...deshow_as2.html

http://www.developdesign.com/shop/homepage/slideshow_as2.php

 

I've tried including the Flash reference code ( that is in the HTML / PHP file) in the home.php file in the languages/english folder or as an includes that references the PHP file, but nothing works.

 

Where do I put the SWF / JPG / XML set of files if I want to display them using the STS template system??

 

Help much appreciated

Posted
The page I want to reference a Flash file: http://developdesign.com/shop/home.php

 

The area that displays the graphic quilt image would be replaced by a Flash slide show that uses XML to reference a group of JPG images.

 

Slide show works if referenced in sts_template" folder: http://developdesign.com/shop/includes/sts...ideshow_as2.swf

 

or within PHP and HTML files in seperate folder: http://www.developdesign.com/shop/homepage...deshow_as2.html

http://www.developdesign.com/shop/homepage/slideshow_as2.php

 

I've tried including the Flash reference code ( that is in the HTML / PHP file) in the home.php file in the languages/english folder or as an includes that references the PHP file, but nothing works.

 

Where do I put the SWF / JPG / XML set of files if I want to display them using the STS template system??

 

Help much appreciated

Am I the only one that is trying to use a Flash file with Oscommerce? ??

Posted
Am I the only one that is trying to use a Flash file with Oscommerce? ??

 

I have successfully implemented Flash into osC, but not with STS. I'm not sure how different it would be because I've never used STS before. However, here's a snippet of the code that I've added in with success, maybe you can use it to your advantage:

 

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

<param name="movie" value="movie1.swf">

<param name="bgcolor" value="#ADAA76">

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

<param name="allowscriptaccess" value="samedomain">

<embed type="application/x-shockwave-flash"

pluginspage="http://www.macromedia.com/go/getflashplayer"

width="500" height="71" src="extrastuff/movie1.swf"

bgcolor="#ADAA76" quality="high"

swLiveConnect="true" allowScriptAccess="samedomain">

</embed>

</object>

 

One thing that I have noticed though, however, is for some reason the Flash doesn't show up right away. It seems to be trying to load it but has no success for a little while. Perhaps this may be a cache thing (it's definitely not load time... in this example, the Flash was only 18KB and I'm on a broadband connection)? Not sure. After its first successful load it never has a problem again.

 

Cheers,

Steve

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...