# SWF loading problem

**URL:** <https://forum.kirupa.com/t/swf-loading-problem/239698>\
**Category:** flash\
**Created:** [September 25, 2007, 12:11am UTC](https://forum.kirupa.com/t/swf-loading-problem/239698 "2007-09-25T00:11:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RubenDoliveira](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rubendoliveira/32/3905_2.png) [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Post date:** [September 25, 2007, 12:11am UTC](https://forum.kirupa.com/t/swf-loading-problem/239698/1 "2007-09-25T00:11:14Z")

</div>

Hello everyone,

I have a swf gallery and it works perfectly if I run the gallery.swf directly, but I have an index.swf where I’m loading the gallery.swf. Everything works and it loads all the different thumbnails images on the xml file, but I can’t load the bigger images.

It works if I run the gallery.swf directly, but it doesn’t work if I run it inside the index.swf. I simply use the following loading method:

```auto
var loader:Loader = new Loader();
var request:URLRequest = new URLRequest("gallery.swf");
 
loader.load(request);
addChild(loader);

```
