# Flashvars works offline but does not work when I shift directories online

**URL:** <https://forum.kirupa.com/t/flashvars-works-offline-but-does-not-work-when-i-shift-directories-online/289770>\
**Category:** Uncategorized\
**Created:** [June 4, 2009, 2:34pm UTC](https://forum.kirupa.com/t/flashvars-works-offline-but-does-not-work-when-i-shift-directories-online/289770 "2009-06-04T14:34:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IanCremona](https://avatars.discourse-cdn.com/v4/letter/i/65b543/32.png) [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Post date:** [June 4, 2009, 2:34pm UTC](https://forum.kirupa.com/t/flashvars-works-offline-but-does-not-work-when-i-shift-directories-online/289770/1 "2009-06-04T14:34:41Z")

</div>

Hello,

I am trying to make my slideshow work through flashvars, everything works fine offline and when the html code is in the same dir as the swfs I do not have any problems (same dir: [http://emotioned.com/files/englishMarquee/FlashSSV3/englishhtmlcode.html](http://emotioned.com/files/englishMarquee/FlashSSV3/englishhtmlcode.html) ). The slideshows are not loaded when I try and access from another directory.

Please check [http://www.emotioned.com](http://www.emotioned.com/) 's last post (password protected post, password: **ssp** ). I’ve checked all the paths in html and they worked. Here is the code:

[SIZE=1]\<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0)” width=“498” height=“32” id=“ssp\_demo\_general\_as3” align=“middle”\>  
\<param name=“FlashVars” value=“xmlfile=http://www.emotioned.com/files/englishMarquee/FlashSSV3/slidesEN.xml&xmlfiletype=Default” /\>  
\<param name=“allowScriptAccess” value=“always” /\>  
\<param name=“allowFullScreen” value=“false” /\>  
\<param name=“movie” value=“[http://www.emotioned.com/files/englishMarquee/FlashSSV3/ssp\_demo\_general\_as3.swf](http://www.emotioned.com/files/englishMarquee/FlashSSV3/ssp_demo_general_as3.swf)” /\>  
\<param name=“quality” value=“high” /\>  
\<param name=“bgcolor” value="#000000" /\>  
\<embed FlashVars=“xmlfile=http://www.emotioned.com/files/englishMarquee/FlashSSV3/slidesEN.xml&xmlfiletype=Default” src=“[http://www.emotioned.com/files/englishMarquee/FlashSSV3/ssp\_demo\_general\_as3.swf](http://www.emotioned.com/files/englishMarquee/FlashSSV3/ssp_demo_general_as3.swf)” quality=“high” bgcolor="#ffffff" width=“498” height=“32” name=“ssp\_demo\_general\_as3” align=“middle” allowScriptAccess=“always” allowFullScreen=“false” type=“application/x-shockwave-flash” pluginspage=“[http://www.adobe.com/go/getflashplayer](http://www.adobe.com/go/getflashplayer)” /\>  
\</object\>[/SIZE]

as you can see, I’m loading SWFs that, in turn, load up more XML files using a relative path. is that a problem?

[as3] xmlLoader.load(new URLRequest(“jackpots/en.xml”)); [/as3]

I have crossdomain policy at [http://emotioned.com/crossdomain.xml](http://emotioned.com/crossdomain.xml)

Thanks a lot,  
[COLOR=#888888]Ian[/COLOR]
