_movie.duplicateFrame()
end repeat
_movie.endRecording()
end animBall
// JavaScript syntax
function animBall(numberOfFrames) {
_movie.beginRecording();
sprite(20).member = member("Ball", "Toys");
for (var i = 0; i <= numberOfFrames; i++) {
_movie.duplicateFrame();
}
_movie.endRecording();
}
See also
insertFrame(),
enableHotSpot()
Usage
-- Lingo syntax
spriteObjRef.enableHotSpot(hotSpotID, trueOrFalse)
// JavaScript syntax
spriteObjRef.enableHotSpot(hotSpotID, trueOrFalse);
Description
QTVR (QuickTime VR) command; determines whether a hot spot in a QTVR sprite is enabled
(
), or disabled (
TRUE
Parameters
Required. Specifies the hot spot in the QTVR sprite to test.
hotSpotID
Required. A
trueOrFalse
is enabled.
endRecording()
Usage
-- Lingo syntax
_movie.endRecording()
// JavaScript syntax
_movie.endRecording();
Description
Movie method; ends a Score update session.
You can resume control of Score channels through scripting after calling
Parameters
None.
Movie
).
FALSE
or
TRUE
FALSE
value that specifies whether the QTVR sprite
.
endRecording()
endRecording()
301
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