Example
This
on prepareMovie
-- Lingo syntax
on prepareMovie
tellStreamStatus(TRUE)
end
// JavaScript syntax
function prepareMovie() {
tellStreamStatus(TRUE);
}
This statement determines the status of the stream status handler:
-- Lingo syntax
on mouseDown
put tellStreamStatus()
end
// JavaScript syntax
function mouseDown() {
put(tellStreamStatus());
}
See also
on streamStatus
tellTarget()
Usage
-- Lingo syntax
spriteObjRef.tellTarget(targetName)
// JavaScript syntax
spriteObjRef.tellTarget(targetName);
Description
Command; equivalent to the Flash
command allows the user to set a target Timeline on which subsequent sprite
tellTarget()
commands will act. When the target is set to a Flash movie clip or a level containing a loaded
Flash movie, certain commands act on the targeted components, rather than on the main
Timeline. To switch focus back to the main Timeline, call
The only valid argument for
endTellTarget
The Flash sprite functions that are affected by
,
setProperty
gotoFrame
(which returns the current frame) is affected by
frame
Parameters
Required. Specifies the target name.
targetName
handler turns the
beginTellTarget
tellTarget
.
,
call(frame)
handler on when the movie starts:
on streamStatus
and
endTellTarget
endTellTarget()
is the target name. There is no valid argument for
are
tellTarget
, and
. In addition, the sprite property
find(label)
tellTarget
methods. The
.
,
,
stop
play
getProperty
.
tellTarget()
,
561
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