User Guide

bytesStreamed 675
This statement remembers the current setting of the buttonStyle property by putting the
current
buttonStyle value in the variable buttonStyleValue:
-- 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, and #radioButton. This property applies only to buttons
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
bytesStreamed property returns a value
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 stream
command to load the cast member into memory. Every time it streams part of the cast member
into memory, it uses the
bytesStreamed property to report in the Message window how many
bytes have been streamed.