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

Flash

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-30-2005, 02:51 AM
 
kevingibson kevingibson is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Sunderland, UK
Posts: 51
 

Default Flash

Hi

I'm using flash in the head part of the latest store I'm working on. I've put all the flash files into the Images directory and used the {$ImagesDir} when referring to the file.

The first flash file loads into the page, but any other files that are loading into that wont load.

Has anyone used flash successfully before? How did you get round this?
__________________
xcart version 4.0.14
windows server

http://www.3k-design.co.uk
Reply With Quote
  #2  
Old 06-30-2005, 05:35 AM
 
balinor balinor is offline
 

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

Default

Please edit your signature to include your X-Cart version number. Edit profile, enter version, enter password, save.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-30-2005, 07:17 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default

intead of image path try to put full url i.e http://www.yoursite.com/x-cart/images/xyz.swf
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote
  #4  
Old 07-22-2005, 07:34 AM
 
kevingibson kevingibson is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Sunderland, UK
Posts: 51
 

Default

Quote:
Originally Posted by anandat
intead of image path try to put full url i.e http://www.yoursite.com/x-cart/images/xyz.swf
I've tried that too, with no sucess unfortunately.

The site is still very much work in progress but you can find it at www.britkit.co.uk/xcart/customer/home.php

Heres the code from the head.tpl

Code:
<TABLE width="722" border="0" align="center" cellpadding="0" cellspacing="0" background="{$ImagesDir}/back_slice.gif"> <TR> <TD><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="722" height="251"> <param name="movie" value="http://www.britkit.co.uk/xcart/skin1/images/base2.swf"/> <param name="quality" value="high"/> <embed src="http://www.britkit.co.uk/xcart/skin1/images/base2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="722" height="251"></embed> </object></TD> </TR> </TABLE>
__________________
xcart version 4.0.14
windows server

http://www.3k-design.co.uk
Reply With Quote
  #5  
Old 07-22-2005, 07:45 AM
 
dManager dManager is offline
 

Advanced Member
  
Join Date: Jan 2005
Location: Erie, Pennsylvania
Posts: 63
 

Default Try this the build from there

Try stripping the code to just:

<embed src="http://www.britkit.co.uk/xcart/skin1/images/base2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="722" height="251"></embed>

and then build it from there

also would the !doctype affect this ? (i can not remember)
__________________
Rich
___________________________
X-Cart version 4.2.2 Gold
Reply With Quote
  #6  
Old 07-22-2005, 08:22 AM
 
kevingibson kevingibson is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Sunderland, UK
Posts: 51
 

Default

Hmm, tried that mate, still no workie.

The first file is loading, its just not playing.

From what I've read on here the doctype isn't needed.
__________________
xcart version 4.0.14
windows server

http://www.3k-design.co.uk
Reply With Quote
  #7  
Old 07-25-2005, 02:26 AM
 
kevingibson kevingibson is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Sunderland, UK
Posts: 51
 

Default

No more suggestions?
__________________
xcart version 4.0.14
windows server

http://www.3k-design.co.uk
Reply With Quote
  #8  
Old 07-25-2005, 05:41 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

Code:
<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="550" height="200" id="moto" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="{$ImagesDir}/flash/moto.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#000000" /> <embed src="{$ImagesDir}/flash/moto.swf" quality="high" bgcolor="#000000" width="550" height="200" name="moto" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>
__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote
  #9  
Old 07-26-2005, 02:09 AM
 
kevingibson kevingibson is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Sunderland, UK
Posts: 51
 

Default

Thanks mate, but I'm still getting the same problem.

I've tried another flash file and I think I've identified the problem.

The file I'm loading is essentially a "base" file. Within this movie there are actionscript commands to load other swf files into the base at various levels.

The problem is coming from the other swf files not loading into the base. I presume the flash movies people have had working are all set into one swf, with no other swfs loading into that?

Has anyone found a workaround for this?
__________________
xcart version 4.0.14
windows server

http://www.3k-design.co.uk
Reply With Quote
  #10  
Old 07-26-2005, 03:54 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

im assuming your flash movie cant find the other flash file to load.

post the AS code, maybe we can help.
__________________
ETInteractive.com
X-Cart 3.5.x
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 11:00 AM.

   

 
X-Cart forums © 2001-2020