User Guide

1026 Chapter 14: Properties
Example
This statement retrieves and displays in the Message window all the tabs for the text cast member
Intro credits:
put member("Intro credits").tabs
-- [[#type: #left, #position: 36], [#type: #Decimal, #position: 141], \
[#type: #right, #position: 216]]
target
Usage
timeoutObject.target
Description
Timeout object property; indicates the child object that the given timeoutObject will send its
timeout events to. Timeout objects whose target property is
VOID will send their events to a
handler in a movie script.
This property is useful for debugging behaviors and parent scripts that use timeout objects.
Example
This statement displays the name of the child object that will receive timeout events from the
timeout object
timerOne in the Message window:
put timeout(“timerOne”).target
See also
name (timeout), timeout(), timeoutHandler, timeoutList
targetFrameRate
Usage
sprite(which3dSprite).targetFrameRate
Description
3D sprite property; determines the preferred number of frames per second to use when rendering
a 3D sprite. The default value is 30 frames per second. The
targetFrameRate property is only
used if the
useTargetFrameRate property is set to TRUE. If the useTargetFrameRate property is
set to
TRUE, Director will reduce the polygon count of the models in the sprite if necessary to
maintain the specified frame rate.
Example
These statements set the targetFrameRate property of sprite 3 to 45 and enforce the frame rate
by setting the
useTargetFrameRate property of the sprite to TRUE:
sprite(3).targetFrameRate = 45
sprite(3).useTargetFrameRate = TRUE
See also
useTargetFrameRate