# Can't open jpg in subfolders

**URL:** <https://forum.kirupa.com/t/cant-open-jpg-in-subfolders/242113>\
**Category:** Uncategorized\
**Created:** [October 22, 2007, 4:53pm UTC](https://forum.kirupa.com/t/cant-open-jpg-in-subfolders/242113 "2007-10-22T16:53:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddmosphere](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@eddmosphere](https://forum.kirupa.com/u/eddmosphere)\
**Post date:** [October 22, 2007, 4:53pm UTC](https://forum.kirupa.com/t/cant-open-jpg-in-subfolders/242113/1 "2007-10-22T16:53:14Z")

</div>

Hi there!

I am using loadClip to load some jpg into flash. I am using IIS as webserver to test the application. The problem is that the images placed in subsubfolder are not being loaded!  
Example:

images in “allpics” are loaded  
images in “allpics\images1” are not loaded

that is, only images in the FIRST subfolder are loaded…why?  
I have enabled “Directory Listing” to all folder and I have granted all permissions in IIS.

Code:

* * *

var loadListener:Object = new Object();  
var mcLoader:MovieClipLoader = new MovieClipLoader();  
mcLoader.addListener(loadListener);

// this works:  
mcLoader.loadClip(“allpics\” + file + “.jpg”,“thumb\_container1”);

//this DOES NOT work  
mcLoader.loadClip(‘allpics\imagesA\’ + file1 + “.jpg”,“thumb\_container1”);

* * *

(of course, I only use one at a time)

Does anybody have a solution for this? Thanks 😉
