User Guide
631
1 (connecting)
indicates that streaming has begun but is in the very early stages of connecting to
the server, and there is not enough information available locally to do anything with the cast
member. This state is the equivalent of
#connecting for the mediaStatus property.
2 (open) indicates that the Lingo properties have been refreshed from the actual stream. When
state is greater than or equal to 2, the height, width, and duration properties of the RealMedia
stream are known. This state is transitory and quickly changes to state 3. This state is the
equivalent of
#opened for the mediaStatus property.
3 (seeking or buffering) indicates that all of the RealMedia cast member’s Lingo properties are
current, but the cast member is not quite ready to play. The Stage or RealMedia viewer displays a
black rectangle or the RealNetworks logo. If this state is the result of rebuffering due to network
congestion, the
state value quickly changes back to 4 (playing). This state is the equivalent of
#buffering or #seeking for the mediaStatus property.
4 (playing) indicates that the RealMedia stream is playing (or paused) without problems or errors.
This is the state during normal playback. This state is the equivalent of
#playing or #paused for the
mediaStatus
property.
Examples
The following examples show that the state of streams in sprite 2 and the cast member Real is 0,
which is closed:
put sprite(2).state
-- 0
put member("Real").state
-- 0
See also
mediaStatus, percentBuffered, lastError
static
Syntax
sprite(whichFlashSprite).static
the static of sprite whichFlashSprite
member(whichFlashMember).static
the static of member whichFlashMember
Description
Cast member property and sprite property; controls playback performance of a Flash movie sprite
depending on whether the movie contains animation. If the movie contains animation (
FALSE,
default), the property redraws the sprite for each frame; if the movie doesn’t contain animation
(
TRUE), the property redraws the sprite only when it moves or changes size.
This property can be tested and set.
Note: Set the static property to TRUE only when the Flash movie sprite does not intersect other moving Director
sprites. If the Flash movie intersects moving Director sprites, it may not redraw correctly.