![MACROMEDIA DIRECTOR MX 2004 Reference Download Page 610](http://html1.mh-extra.com/html/macromedia/director-mx-2004/director-mx-2004_reference_687516610.webp)
610
Chapter 13: Operators
Be sure to use only the @ symbol when navigating between Director movies or changing the
source of a linked media cast member. The @ symbol does not work when the Fileio Xtra
extension or other functions are used outside those available within Director.
You can build on this pathname to specify folders that are one or more levels above or below the
current movie’s folder. Keep in mind that the @ portion represents the current movie’s location,
not necessarily the location of the projector.
•
Add an additional pathname separator immediately after the
@
symbol to specify a folder one
level up in the hierarchy.
•
Add folder names and filenames (separated by
/
,
\
, or
:
) after the current folder name to
specify subfolders and files within folders.
You can use relative pathnames in Lingo to indicate the location of a linked file in a folder
different than the movie’s folder.
Example
These are equivalent expressions that specify the subfolder bigFolder, which is in the current
movie’s folder:
@/bigFolder
@:bigFolder
@\bigFolder
These are equivalent expressions that specify the file linkedFile, in the subfolder bigFolder, which
is in the current movie’s folder:
@:bigFolder:linkedFile
@\bigFolder\linkedFile
@/bigFolder/linkedFile
This expression specifies the file linkedFile, which is located one level up from the current
movie’s folder:
@//linkedFile
This expression specifies the file linkedFile, which is located two levels up from the current
movie’s folder:
@:::linkedFile
These are equivalent expressions that specify the file linkedFile, which is in the folder otherFolder.
The otherFolder folder is in the folder one level up from the current movie’s folder.
@::otherFolder:linkedFile
@\\otherFolder\linkedFile
@//otherFolder/linkedFile
See also
searchPathList
,
fileName (Cast)
,
fileName (Member)
,
fileName (Window)
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...