View comments | RSS feed

Movie

Represents a movie being played within the Director player.

The Director player can contain one or more movies. A movie can consist of one or more cast libraries. A cast library can consist of one or more cast members, which represent the media and script assets in a movie. Media cast members may be text, bitmaps, shapes, and so on. Script cast members include behaviors, movie scripts, and so on. Sprites are created from cast members and are used on the Stage of a movie.

You can refer to the currently active movie by using the top level _movie property. You can refer to any movie in the player by using the Window object's movie property.

In Director MX 2004, you can use a movie reference to access not only the methods and properties of a movie itself, you can also call Lingo and JavaScript syntax handlers, and access the movie's cast members and sprites, including their methods and properties. This differs from previous versions of Director in which you had to use the tell command to work with movies. The Movie object provides a simpler way to work with movies.

Note: The tell command is obsolete in Director MX 2004,

Method summary for the Movie object

Method 
beginRecording()
newMember()
cancelIdleLoad()
preLoad() (Movie)
clearFrame()
preLoadMember()
constrainH()
preLoadMovie()
constrainV()
printFrom()
delay()
puppetPalette()
deleteFrame()
puppetSprite()
duplicateFrame()
puppetTempo()
endRecording()
puppetTransition()
finishIdleLoad()
ramNeeded()
frameReady() (Movie)
rollOver()
go()
saveMovie()
goLoop()
sendAllSprites()
goNext()
sendSprite()
goPrevious()
stopEvent()
idleLoadDone()
unLoad() (Movie)
insertFrame()
unLoadMember()
label()
unLoadMovie()
marker()
updateFrame()
mergeDisplayTemplate()
updateStage()

Property summary for the Movie object

Property 
aboutInfo
frameTransition
active3dRenderer
idleHandlerPeriod
actorList
idleLoadMode
allowCustomCaching
idleLoadPeriod
allowGraphicMenu
idleLoadTag
allowSaveLocal
idleReadChunkSize
allowTransportControl
imageCompression
allowVolumeControl
imageQuality
allowZooming
keyboardFocusSprite
beepOn
lastChannel
buttonStyle
lastFrame
castLib
markerList
centerStage
member (Movie)
copyrightInfo (Movie)
name
displayTemplate
paletteMapping
dockingEnabled
path (Movie)
editShortCutsEnabled
preferred3dRenderer
enableFlashLingo
preLoadEventAbort
exitLock
score
fileFreeSize
scoreSelection
fileSize
script
fileVersion
sprite (Movie)
fixStageSize
stage
frame
timeoutList
frameLabel
traceLoad
framePalette
traceLogFile
frameScript
traceScript
frameSound1
updateLock
frameSound2
useFastQuads
frameTempo
xtraList (Movie)

See also

_movie, Cast Library, Member, movie, Player, Sprite, Window


Comments


roymeo said on Mar 3, 2004 at 12:23 PM :
what about scriptExecutionStyle, yo?

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/director/mx2004/release_en/02_dire7.htm