The following frame script checks to see if frame 25 of a Flash movie sprite in channel 5 can be
rendered. If it can't, the script keeps the playhead looping in the current frame of the Director
movie. When frame 25 can be rendered, the script starts the movie and lets the playhead proceed
to the next frame of the Director movie.
See also
mediaReady,
Movie
frameStep()
Usage
-- Lingo syntax
dvdObjRef.frameStep(intFrames)
// JavaScript syntax
dvdObjRef.frameStep(intFrames);
Description
DVD method; steps forward from the current location a specified number of frames when
playback is paused.
Stepping backward is not supported by either Windows or Macintosh system software for DVD
playback.
Parameters
Required. An integer that specifies the number of frames to step forward.
intFrames
Example
This statements jumps 100 frames forward:
-- Lingo syntax
member("drama").frameStep(100)
// JavaScript syntax
member("drama").frameStep(100);
See also
DVD
freeBlock()
Usage
the freeBlock
Description
Function; indicates the size of the largest free contiguous block of memory, in bytes. A kilobyte
(K) is 1024 bytes. A megabyte (MB) is 1024 kilobytes. Loading a cast member requires a free
block at least as large as the cast member.
Parameters
None.
322
Chapter 12: Methods
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