folder
779
folder
Usage
-- Lingo syntax
dvdObjRef
.folder
// JavaScript syntax
dvdObjRef
.folder;
Description
DVD property. Determines the pathname of the folder from which a DVD is playing. Read/
write.
The pathname must be a string.
The folder property can be set either in the Property inspector or through scripting. The current
implementation has the following requirements:
Windows:
•
You must provide video_ts at the end of the file path for the targeted local DVD media. For
example, C:\video_ts or C:\myLocalDVDContent\video_ts
Macintosh:
•
The value of the folder property’s path must begin with /Volumes/
•
Adding video_ts to the path entered for the folder property’s value is currently optional. For
example, if the DVD video_ts folder is located on the root of the start-up drive, the value for
the folder property could be entered in either of the following two ways:
■
/Volumes/Macintosh HD/myLocalDVDContent/video_ts
or
■
/Volumes/Macintosh HD/myLocalDVDContent
To edit the folder property value in the Property inspector:
1
Select the DVD cast member, and then activate the DVD tab of the Property inspector while
in list view mode.
2
Under the Playback Properties section, select the folder property’s editable value field and then
enter the file path for the location of the targeted DVD media.
Use the following examples as a guide for setting the folder property through scripting. These
statements set the pathname of the DVD folder property:
Example
Windows:
-- Lingo syntax
member(2).folder = "C:\myLocalDVDContent\video_ts"
// JavaScript syntax
member(2).folder = "C:\\myLocalDVDContent\\video_ts";
Macintosh:
-- Lingo syntax
member(2).folder = "/Volumes/Macintosh HD/myLocalDVDContent"
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...