Property
texture
Member
percent
Streamed
bytes
Streamed
streamSize
state
Cast member commands
The following commands allow you to reset cast member properties to original values they had at
the time the cast member was imported into Director:
Command
resetToWorldDefault()
resetWorld()
Sprite properties
You can control most sprite properties using the Property inspector. For more information, see
"Using the Property inspector for 3D" on page 448. Use the following properties to work with
3D sprites in Lingo.:
Property
directTo
Stage
backColor
camera
534
Chapter 20
Access
Description
Get and set
Name of cast member to use as the source for the
default texture when
#member
Get
Percentage of file that has been downloaded, with
values from
Get
Integer number of bytes that have been
downloaded, with values from 0 to the size of the
file in bytes.
Get
Total size of stream to be downloaded, with values
0
from
Get
Current state of streaming. Values are as follows:
0
: unloaded
1
: headerLoading
2
: headerLoaded
3
: mediaLoading
4
: =mediaLoaded
-1
: error
Once state
execute Lingo that manipulates the 3D world.
Before then, access to particular models may fail
because those model definitions may not have been
downloaded.
Also, the
except at states
Description
Resets all cast member properties to the values
stored in the original 3D world
Resets the 3D cast member to the state it was in
when the movie first loaded
Access
Description
TRUE (1)
Get and set
whether rendering occurs directly to the Stage or to
the Director offscreen buffer. If
sprites that intersect with this sprite may flicker. If
FALSE (0)
declines.
Get and set
Background color in all views.
Get and set
Determines which camera this sprite is using.
textureType
.
0
100
to
.
to the size of the file in bytes.
3
4
or
has been reached, it's safe to
loadFile()
cast member method fails
0
4
or
.
FALSE (0)
or
specification of
TRUE (1)
, rendering layers well but speed
Default
No texture
is set to
None
None
None
None
Returns
Nothing
Nothing
Default
TRUE (1)
rendering occurs
, other
directly to the
Stage
rgb(0,0,0)
None
:
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers