Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

flash and xcart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-09-2006, 03:00 PM
 
maximer maximer is offline
 

Member
  
Join Date: Sep 2006
Posts: 22
 

Default 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
__________________
Version 4.0.18
Reply With Quote
  #2  
Old 11-09-2006, 03:07 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: flash and xcart

Try getting rid of the smarty and put the swf in the root.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-09-2006, 03:10 PM
 
maximer maximer is offline
 

Member
  
Join Date: Sep 2006
Posts: 22
 

Default 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
__________________
Version 4.0.18
Reply With Quote
  #4  
Old 11-09-2006, 03:12 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: flash and xcart

Change: {$ImagesDir}/customer_images/scales02.swf

to: scales02.swf

And put the .swf file in the root directory
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-09-2006, 03:17 PM
 
maximer maximer is offline
 

Member
  
Join Date: Sep 2006
Posts: 22
 

Default 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

Thanks a lot and good luck.
__________________
Version 4.0.18
Reply With Quote
  #6  
Old 11-29-2006, 09:33 PM
  Magnumpi's Avatar 
Magnumpi Magnumpi is offline
 

Newbie
  
Join Date: Sep 2006
Posts: 2
 

Default 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!
__________________
X-Cart Version 4.1.8
Reply With Quote
  #7  
Old 11-29-2006, 09:46 PM
  Magnumpi's Avatar 
Magnumpi Magnumpi is offline
 

Newbie
  
Join Date: Sep 2006
Posts: 2
 

Default 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.
__________________
X-Cart Version 4.1.8
Reply With Quote
  #8  
Old 03-05-2007, 12:21 AM
  DataViking's Avatar 
DataViking DataViking is offline
 

eXpert
  
Join Date: Jan 2003
Location: Las Vegas, NV
Posts: 361
 

Default 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
__________________
Web Design Web Design and Custom X-Cart Projects

http://www.dataviking.com

Mention the forums for discounts!
x-cart Version 4.1.8
Reply With Quote
  #9  
Old 04-05-2007, 07:57 PM
  davidsaldana's Avatar 
davidsaldana davidsaldana is offline
 

Senior Member
  
Join Date: Oct 2005
Posts: 187
 

Default 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
__________________
4.4
Code:
Hello World
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020