User Guide

580
searchCurrentFolder
Syntax
the searchCurrentFolder
Description
System property; determines whether Director searches the current folder when searching
file names. This property is TRUE by default.
When the searchCurrentFolder property is TRUE (1), Director searches the current folder when
resolving filenames.
When the searchCurrentFolder property is FALSE (0), Director does not search the current folder
when resolving filenames.
This property can be tested and set.
Examples
This statement displays the status of the searchCurrentFolder property in the Message window:
put the searchCurrentFolder
The result is 1, which is the numeric equivalent of TRUE.
This statement sets the
searchCurrentFolder property to TRUE, which causes Director to search the
current folder when resolving filenames:
the searchCurrentFolder = TRUE
See also
searchPaths
searchPath
This is obsolete. Use searchPaths.
searchPaths
Syntax
the searchPaths
Description
System property; a list of paths that Director searches when trying to find linked media such as
digital video, GIFs, bitmaps, or sound files. Each item in the list is a fully qualified pathname as it
appears on the current platform at run time.
The value of
searchPaths is a linear list that you can manipulate the same as any other list by using
commands such as
add, addAt, append, deleteAt, and setAt.
URLs should not be used as file references in the search paths.
Adding a large number of paths to
searchPaths slows searching. Try to minimize the number of
paths in the list.
This property can be tested and set, and is an empty list by default.
Note: This property will function on all subsequent movies after being set. Because the current movie’s assets have
already been loaded, changing the setting will not affect any of these assets.