581
Examples
This statement displays the paths that Director searches when resolving filenames:
put the searchPaths
The following statement assigns two folders to
searchPaths
in Windows. This version includes
optional trailing backslashes.
set the searchPaths = ["c:\director\projects\", "d:\cdrom\sources\"]
This statement is the same, except that trailing backslashes have been omitted:
set the searchPaths = ["c:\director\projects", "d:\cdrom\sources"]
The following statement assigns two folders to
searchPaths
on a Macintosh. This version includes
optional trailing colons.
set the searchPaths = ["hard drive:director:projects:", "cdrom:sources:"]
This statement is the same, except that trailing colons have been omitted:
set the searchPaths = ["hard drive:director:projects", "cdrom:sources"]
These statements cause Director to search in a folder named Sounds, which is in the same folder
as the current Director movie:
set soundPaths = the moviePath & "Sounds"
add the searchPaths, soundPath
See also
searchCurrentFolder
,
@ (pathname)
seconds
Syntax
dateObject
.seconds
Description
Property; gives the seconds passed since midnight of the given date object. Only the
systemDate
,
creationDate
, and
modifiedDate
have a default
seconds
value. You must specify a
seconds
value for
date objects that you create.
This property can be used with the
creationDate
and the
modifiedDate
for source control purposes.
Example
These statements display the seconds since midnight on the authoring computer:
mydate = the systemdate
put mydate.seconds
-- 1233
Summary of Contents for DIRECTOR MX-LINGO DICTIONARY
Page 1: ...Lingo Dictionary Macromedia Director MX...
Page 756: ...Index 756...