X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   flash and xcart (https://forum.x-cart.com/showthread.php?t=26497)

maximer 11-09-2006 03:00 PM

flash and xcart
 
Hi,

I embed flash in welcome.tpl but it don't work in IE. Firefox displays fine.
Here my welcome.tpl

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="260" id="scales02" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param wmode="transparent" name="movie" value="scales02.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed wmode="transparent" src="{$ImagesDir}/customer_images/scales02.swf" quality="high" bgcolor="#ffffff" width="520" height="400" name="scales02" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


Regards,



Version 4.0.17

balinor 11-09-2006 03:07 PM

Re: flash and xcart
 
Try getting rid of the smarty and put the swf in the root.

maximer 11-09-2006 03:10 PM

Re: flash and xcart
 
Quote:

Originally Posted by balinor
Try getting rid of the smarty and put the swf in the root.


I have tried without {$ImagesDir}...... Don't work.
So in which catalog put swf file?


regards

balinor 11-09-2006 03:12 PM

Re: flash and xcart
 
Change: {$ImagesDir}/customer_images/scales02.swf

to: scales02.swf

And put the .swf file in the root directory

maximer 11-09-2006 03:17 PM

Re: flash and xcart
 
Quote:

Originally Posted by balinor
Change: {$ImagesDir}/customer_images/scales02.swf

to: scales02.swf

And put the .swf file in the root directory



It works :D :D :D

Thanks a lot and good luck.

Magnumpi 11-29-2006 09:33 PM

Re: flash and xcart
 
I am trying to insert a small flash player into the product description. It shows up fine for detailed description, but doesn't show up on initial short product description view. I have made the flash image as small as 10x10 pixels, still doesn't show in first product description.

Help!

Magnumpi 11-29-2006 09:46 PM

Re: flash and xcart
 
Found my answer here:
http://forum.x-cart.com/showthread.php?t=23049

Had to lengthen the amount of characters per small post. I did not know that characters in code would count towards total character count.

DataViking 03-05-2007 12:21 AM

Re: flash and xcart
 
i'm trying to insert a movien in the static pages and I can't get it to work. I try even calling the url directly and still don't work.

any ideas

davidsaldana 04-05-2007 07:57 PM

Re: flash and xcart
 
I too am trying to get this flash to work on a static page and cant get it to work correctly. I got it to work on the php live site:

http://www.mailboxixchange.com/store/product.php?productid=18622&cat=0&page=1

But the static page does not show product:

http://www.mailboxixchange.com/Curbvault-High-Security-Mailbox-p-18622.html

The code is as follows:

<div align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="400" id="howworks" align="middle">
<param name="allowScriptAccess" value="http://www.mailboxixchange.com" />
<param name="movie" value="howworks.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="howworks.swf" quality="high" bgcolor="#ffffff" width="400" height="400" name="howworks" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>

Please help as most people are directed to the static pages


All times are GMT -8. The time now is 04:23 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.