PDA

View Full Version : External file path


roygbiv123
06-20-2005, 01:20 PM
I am trying to link a file that is in a folder one step higher than the current folder I'm in. In other words, the SWF is in:

main folder/artists/artist.swf

and the folder with the JPG I'm trying to access is in:

main folder/invetory/artist/01.jpg

Therefore, bot "artists" and "inventory" are two seperate folders in "main folder"

Initially, the path was:
loadMovie("inventory/artist/01.jpg", "artwork_mc");

but once I rearranged the folders, this path is no longer valid. I have a feeling it is something like:
loadMovie("parent/inventory/artist/01.jpg", "artwork_mc");

but this is obviously not the proper syntax.

Billystyx
06-20-2005, 01:42 PM
loadMovie("../inventory/artist/01.jpg", "artwork_mc");

should do it

roygbiv123
06-20-2005, 01:45 PM
Thank you thank you!! I've been searching for those two dots for the past hour!

Billystyx
06-20-2005, 02:05 PM
they're near the space bar:)

glad to help.

billystyx