MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 375

Director scripting reference
Table of Contents

Advertisement

Example
The following statement checks whether a sound is playing in sound channel 1 and loops in the
frame if it is. This allows the sound to finish before the playhead goes to another frame.
-- Lingo syntax
if (sound(1).isBusy()) then
_movie.go(_movie.frame)
end if
// JavaScript syntax
if (sound(1).isBusy()) {
_movie.go(_movie.frame);
}
See also
status,
Sound Channel
isInWorld()
Usage
member(whichCastmember).model(whichModel).isInWorld()
member(whichCastmember).camera(whichCamera).isInWorld()
member(whichCastmember).light(whichLight).isInWorld()
member(whichCastmember).group(whichGroup).isInWorld()
Description
3D command; returns a value of
group terminates in the world. If the value of
group functions in the 3D world of the cast member.
Models, cameras, lights, and groups can be stored in a 3D cast member but not used in the 3D
world of the cast member. Use the
remove models, cameras, lights, and groups from the 3D world of the cast member.
Parameters
None.
Example
This statement shows that the model named Teapot exists in the 3D world of the cast member
named TableScene:
put member("TableScene").model("Teapot").isInWorld()
-- 1
See also
addToWorld, removeFromWorld,
if the parent hierarchy of the model, camera, light, or
TRUE
isInWorld
and
addToWorld
removeFromWorld
child (3D)
is
, the model, camera, light, or
TRUE
commands to add and
isInWorld()
375

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents