User Guide
780 Chapter 14: Properties
// JavaScript syntax
member(2).folder = "/Volumes/Macintosh HD/myLocalDVDContent";
Note: If a video_ts folder cannot be found when the first DVD cast member is created, an error alert
will appear that says "Unable to locate DVD volume." This alert will only appear once per session. At
that point, you can still name any newly created DVD member and then set the folder property to a
location that contains a valid video_ts folder.
Issues with Macintosh DVD folder pathnames
On Macintosh computers, the format of the pathname for the folder property should use a
forward slash ( / ) as the path’s delimeter, instead of the standard Macintosh delimiter colon ( : ).
In addition, /volumes/ should be concatenated at the start of the pathname of the DVD folder.
For example, if the DVD folder is located on the root of the boot drive, it would look like the
following:
member (2).folder = "/Volumes/Macintosh HD/Test_DVD/video_ts"
When the _movie.path command is used for retrieving the path of the projector or movie on a
Macintosh, it will contain a colon ( : ) instead of the forward slash ( / ). The use of the colon in
the DVD folder’s pathname will cause an error. As a workaround, developers can use a script to
replace the colon characters in the pathname with forward slashes.
See also
DVD
font
Usage
-- Lingo syntax
memberObjRef.font
// JavaScript syntax
memberObjRef.font;
Description
Text and field cast member property; determines the font used to display the specified cast
member and requires that the cast member contain characters, if only a space. The parameter
whichCastMember can be either a cast member name or number.
The
font member property can be tested and set.
To see an example of
font used in a completed movie, see the Text movie in the Learning/Lingo
Examples folder inside the Director application folder.
Example
This statement sets the variable named oldFont to the current font setting for the field cast
member Rokujo Speaks:
-- Lingo syntax
oldFont = member("Rokujo Speaks").font
// JavaScript syntax
var oldFont = member("Rokujo Speaks").font;
See also
text, alignment, fontSize, fontStyle, lineHeight