User Guide
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.