View Single Post
  #5  
Old 09-27-2009, 11:50 AM
 
Audentio Audentio is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 6
 

Default Re: Embedding Flash/XML using a div

It says to add this line:
Code:
flashvars.folderPath = "PATH";
Where do I put the path to? Would it be skin1/customer/?

Just to clarify, this is where ALL the flash files are (xml, images, swf file, the js files required by the flash script) in www/banner/. X-Cart is on the root. The code as it stands now based off of what you said is this:

Code:
{literal} <script type="text/javascript" src="banner/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.folderPath = "skin1/customer/"; flashvars.settingsXML = "banner/settings.xml"; var params = {}; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF("banner/banner.swf", "flashbanner", "792", "142", "9.0.0", false, flashvars, params, attributes); </script> {/literal}
in skin1/customer/service_head.tpl. I didn't include the whole template, just the code I need obviously. It still won't work, I have no idea why. How do I make it relative to skin1/customer/home.tpl? Thanks for all your help so much mate, I'm very appreciative. Please help me get this to work and Ill give you a token of my appreciation.
__________________
X-Cart Pro 4.2.2
Reply With Quote