![]() |
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? |
Please edit your signature to include your X-Cart version number. Edit profile, enter version, enter password, save.
|
intead of image path try to put full url i.e http://www.yoursite.com/x-cart/images/xyz.swf
|
Quote:
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"> |
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) |
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. |
No more suggestions?
|
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"> |
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? |
im assuming your flash movie cant find the other flash file to load.
post the AS code, maybe we can help. |
Basically its just a bit of code that says
Code:
loadMovieNum('top.swf', 2); Then the file top.swf loads into it and plays. All the swf files are together in the same folder so I can't see why the base can't see the other movies. It's not just this movie, because I tried another flash file in there to be sure. I think the only way around it is to create the flash header as one big file, which is a shame because altogether the flash files account for about 250k, which is now going to have be downloaded all at once. |
Re: Flash
I have been searching the forums to try and find an answer to my question and so far this is the closest post to what I am trying to do....sorry to get off topic -
I am trying to use a flash file for our contact page to make it much more dynamic - but I am unable to figure out how to remove the current contact form and replace it with my swf file without really making a mess of things - any ideas? Thanks, jcole |
Re: Flash
Jeremy, I'll be taking care of it for you, don't worry :) We'll just create a new static page and point all the contact links there.
|
Re: Flash
Quote:
You have any luck yet? I am having the same issue with a flash file that is loading XML Data and external jpg files. I'd love to hear what you came up with. It just doesn't make any sense to have to build it as one big file. I am trying to make something that is expandable and editable without opening the fla file. |
Re: Flash
Hey man... I actually just figured it out. When I am loading the XML Data in Flash I had to put an Absolute link to the xml file exactly where it sits on the server rather than a relative link. Then I had to put absolute links to all of the jpg files within the xml file.
Fixed everything right up for me. Cheers! |
All times are GMT -8. The time now is 04:24 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.