# Change the way the images are accessed

**URL:** <https://forum.kirupa.com/t/change-the-way-the-images-are-accessed/191182>\
**Category:** Uncategorized\
**Created:** [June 18, 2006, 7:17am UTC](https://forum.kirupa.com/t/change-the-way-the-images-are-accessed/191182 "2006-06-18T07:17:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gh\_](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gh\_](https://forum.kirupa.com/u/gh_)\
**Post date:** [June 18, 2006, 7:17am UTC](https://forum.kirupa.com/t/change-the-way-the-images-are-accessed/191182/1 "2006-06-18T07:17:08Z")

</div>

this is working, but I would really like to have the jpegs, as linked items in the library, or just in the same folder / path  
as the swf file,

how can I change this to achieve that…I need that to get the prelaoding to work, or work the only way I know how to in the scope of things

footers = 5;  
directory = “[http://www.pathToImages.com/pic/](http://www.pathToImages.com/pic/)”;  
getMe.loadMovie(directory + Math.ceil(Math.random()\*footers) + “.jpg”);
