_lockpath for swf's embedded using laodMovie

Is there anything similar to the _lockroot attribute that would allow one to freeze the relative paths used by an embedded swf? In other words, if I have this type of directory structure,

www
----portfolio (folder)
--------portfolio.swf
--------gallery (folder)
------------gallery.swf
------------images (folder)
----------------pic1.jpg
------------thumbnails (folder)
----------------pic1.jpg

Is there any easy way to have gallery.swf access “images/pic1.jpg” and “thumbnails/pic1.jpg”, but still have it work when gallery.swf is loaded using loadMovie into portfolio.swf? Right now, when gallery.swf is loaded into portfolio.swf, it tries to access “portfolio/images/pic1.jpg” rather than “portfolio/gallery/images/pic1.jpg”