MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 301

Director scripting reference
Table of Contents

Advertisement

_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

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