MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 610

Director scripting reference
Table of Contents

Advertisement

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
level up in the hierarchy.
Add folder names and filenames (separated by
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,
610
Chapter 13: Operators
fileName
(Cast),
fileName
symbol to specify a folder one
@
,
, or
) after the current folder name to
/
\
:
(Member),
fileName (Window)

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents