# XML picture gallery on server bug

**URL:** https://forum.kirupa.com/t/xml-picture-gallery-on-server-bug/310709
**Category:** flash
**Created:** [June 17, 2010, 10:26am UTC](https://forum.kirupa.com/t/xml-picture-gallery-on-server-bug/310709 "2010-06-17T10:26:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![003](https://avatars.discourse-cdn.com/v4/letter/0/5f9b8f/32.png) [@003](https://forum.kirupa.com/u/003)
#### Post date: [June 17, 2010, 10:26am UTC](https://forum.kirupa.com/t/xml-picture-gallery-on-server-bug/310709/1 "2010-06-17T10:26:08Z")

</div>

first, hi to all…

i’ve got a stragne bug on my site… it’s preety much finished, except for the gallery… here’s the problem…

i made a pic gallery that loads pics from xml file…  
when I open the gallerys .swf itself on my server it works fine…  
when I open the website .swf file on my server it looks fine…  
but, when I open the flash-generated .html file and try to open my gallery on my web site it sometimes shows me only a couple of pictures… sometimes none…  
also, when I open it up on my computer, it works fine…

could this be a server problem, or .html??

anyone have any expirience on this?

btw: the gallery is stand-alone and I load it in my flash web site through the code -\>

```auto
var ldr = new Loader();
var url:String = "MY GALLERY.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
function loadComplete(e:Event):void{
	MY_MOVIECLIP.addChild(ldr);
}

```

thanks in advance for any help!
