MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 399

Director scripting reference
Table of Contents

Advertisement

minimize()
Usage
-- Lingo syntax
windowObjRef.minimize()
// JavaScript syntax
windowObjRef.minimize();
Description
Window method; minimizes a window.
Use this method when making custom titlebars.
Parameters
None.
Example
These statements minimize the window named Artists if it is not already minimized.
-- Lingo syntax
if (window("Artists").sizeState <> #minimized) then
window("Artists").minimize()
end if
// JavaScript syntax
if (window("Artists").sizeState != symbol("minimized")) {
window("Artists").minimized();
}
See also
maximize(),
Window
model
Usage
member(whichCastmember).model(whichModel)
member(whichCastmember).model[index]
member(whichCastmember).model.count
member(whichCastmember).model(whichModel).propertyName
member(whichCastmember).model[index].propertyName
Description
3D command; returns the model found within the referenced cast member that has the name
specified by
whichModel
for the specified parameter, the command returns
the number of models found within the referenced cast member. This command also allows
access to the specified model's properties.
Model name comparisons are not case-sensitive. The index position of a particular model may
change when objects at lower index positions are deleted.
If no model is found that uses the specified name or no model is found at the specified index
position then this command returns void.
, or is found at the index position specified by
index
. As
void
model.count
. If no model exists
, the command returns
model
399

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

This manual is also suitable for:

Director mx 2004

Table of Contents