EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 301

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.