This statement remembers the current setting of the
current
buttonStyle
-- Lingo syntax
buttonStyleValue = _movie.buttonStyle
// JavaScript syntax
var buttonStyleValue = _movie.buttonStyle;
See also
Movie
buttonType
Usage
member(whichCastMember).buttonType
the buttonType of member whichCastMember
Description
Button cast member property; indicates the specified button cast member's type. Possible values
are
#pushButton, #checkBox
created with the button tool in the Tool palette.
Example
This statement makes the button cast member Editorial a check box.
Dot syntax:
member("Editorial").buttonType = #checkBox
Verbose syntax:
set the buttonType of member "Editorial" to #checkBox
bytesStreamed
Usage
-- Lingo syntax
memberObjRef.bytesStreamed
// JavaScript syntax
memberObjRef.bytesStreamed;
Description
Flash and Shockwave Audio cast member property; indicates the number of bytes of the specified
cast member that have been loaded into memory. The
only when the Director movie is playing. It returns an integer value.
This property can be tested but not set.
Example
This handler accepts a cast member reference as a parameter, and it then uses the
command to load the cast member into memory. Every time it streams part of the cast member
into memory, it uses the
bytes have been streamed.
value in the variable
buttonStyleValue
, and
#radioButton
property to report in the Message window how many
bytesStreamed
property by putting the
buttonStyle
:
. This property applies only to buttons
property returns a value
bytesStreamed
stream
bytesStreamed
675
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