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.
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...