endRecording()
301
_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()
,
Movie
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
(
TRUE
), or disabled (
FALSE
).
Parameters
hotSpotID
Required. Specifies the hot spot in the QTVR sprite to test.
trueOrFalse
Required. A
TRUE
or
FALSE
value that specifies whether the QTVR sprite
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
endRecording()
.
Parameters
None.
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...