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 (https://forum.x-cart.com/showthread.php?t=14895)

kevingibson 06-30-2005 02:51 AM

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?

balinor 06-30-2005 05:35 AM

Please edit your signature to include your X-Cart version number. Edit profile, enter version, enter password, save.

anandat 06-30-2005 07:17 AM

intead of image path try to put full url i.e http://www.yoursite.com/x-cart/images/xyz.swf

kevingibson 07-22-2005 07:34 AM

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>


dManager 07-22-2005 07:45 AM

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)

kevingibson 07-22-2005 08:22 AM

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.

kevingibson 07-25-2005 02:26 AM

No more suggestions?

ETInteractive.com 07-25-2005 05:41 AM

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>


kevingibson 07-26-2005 02:09 AM

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?

ETInteractive.com 07-26-2005 03:54 AM

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

post the AS code, maybe we can help.


All times are GMT -8. The time now is 07:05 AM.

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