Relative url in parent folder?

So assume I have a website www.whatever.com

I have a swf that loads images from www.whatever.com/images/image1.jpg etc…

The swf, however is located at 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