EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 673

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
buttonsEnabled 673
Example
This startMovie handler sets up a Flash movie cast member for streaming and then sets its
bufferSize property.
-- Lingo syntax
on startMovie
member.("Flash Demo").preload = FALSE
member.("Flash Demo").bufferSize = 65536
end
// JavaScript syntax
function startMovie() {
member.("Flash Demo").preload = 0;
member.("Flash Demo").bufferSize = 65536;
}
See also
bytesStreamed, preLoadRAM, stream(), streamMode
buttonCount
Usage
-- Lingo syntax
dvdObjRef.buttonCount
// JavaScript syntax
dvdObjRef.buttonCount;
Description
DVD property; returns the number of available buttons on the current DVD menu. Read-only.
Currently unsupported on Macintosh.
See also
DVD
buttonsEnabled
Usage
-- Lingo syntax
memberOrSpriteObjRef.buttonsEnabled
// JavaScript syntax
memberOrSpriteObjRef.buttonsEnabled;
Description
Flash cast member property and sprite property; controls whether the buttons in a Flash movie
are active (
TRUE, default) or inactive (FALSE). Button actions are triggered only when the
actionsEnabled property is set to TRUE.
This property can be tested and set.