# Relative url in parent folder?

**URL:** https://forum.kirupa.com/t/relative-url-in-parent-folder/274142
**Category:** flash
**Created:** [October 25, 2008, 9:07pm UTC](https://forum.kirupa.com/t/relative-url-in-parent-folder/274142 "2008-10-25T21:07:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ThePuzzleMaster](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thepuzzlemaster/32/972_2.png) [@ThePuzzleMaster](https://forum.kirupa.com/u/ThePuzzleMaster)
#### Post date: [October 25, 2008, 9:07pm UTC](https://forum.kirupa.com/t/relative-url-in-parent-folder/274142/1 "2008-10-25T21:07:35Z")

</div>

So assume I have a website [www.whatever.com](http://www.whatever.com)

I have a swf that loads images from [www.whatever.com/images/image1.jpg](http://www.whatever.com/images/image1.jpg) etc…

The swf, however is located at [www.whatever.com/flash/mySWF.swf](http://www.whatever.com/flash/mySWF.swf)

Is there any way to load up the images using a relative url based from the Swf’s location?

Many thanks!  
-iLan
