374
Chapter 12: Methods
invert()
Usage
member(
whichCastmember
).model(
whichModel
).transform.invert()
member(
whichCastmember
).group(
whichGroup
).transform.invert()
member(
whichCastmember
).camera(
whichCamera
).transform.invert()
sprite(
whichSprite
).camera{(
index
)}.transform.invert()
member(
whichCastmember
).light(
whichLight
).transform.invert()
transformReference
.invert()
Description
3D
transform
method; inverts the position and rotation properties of the transform.
This method changes the original transform. To invert a copy of the original transform, use the
inverse()
function.
Parameters
None.
Example
This statement inverts the transform of the model Box:
member("3d world").model("Box").transform.invert()
See also
inverse()
isBusy()
Usage
-- Lingo syntax
soundChannelObjRef
.isBusy()
// JavaScript syntax
soundChannelObjRef
.isBusy();
Description
Sound Channel method; determines whether a sound is playing (
TRUE
)
or not playing (
FALSE
) in
a sound channel.
Make sure that the playhead has moved before using
isBusy()
to check the sound channel. If
this function continues to return
FALSE
after a sound should be playing, add the
updateStage()
method to start playing the sound before the playhead moves again.
This method works for those sound channels occupied by actual audio cast members.
QuickTime, Flash, and Shockwave Player audio handle sound differently, and this method will
not work with those media types.
Consider using the
status
property of a sound channel instead of
isBusy()
. The
status
property can be more accurate under many circumstances.
Parameters
None.
Содержание 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...