Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mac Absolute Paths?

Status
Not open for further replies.

ncar35b

Technical User
Jan 10, 2003
55
US
Hello. I'm writing a Flash movie where I need to call dynamic images from a CD-Rom in the computer. I need the flash file to sit on the harddrive. On a PC, it's easy to reference the images (D:\images\whatever.jpg). How would I write the absolute path on a Mac?

Also, this computer will not have internet access, so posting the files to a server won't work. Must be local.

Thanks, Josh
 
ncar35b,

Absolute paths in Mac are the same as they are in Linux. For example:

/Users/ObviousTroll/Desktop/whatever.jpg.

Drives are accessed by their name (label) not by drive letter. To access a file on a CD Rom you need to know the name of the CD. For example

/Volumes/MySpiffyCD/images/whatever.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top