Appendix A. DOM Reference


DOM stands for Director Object Model and was introduced in Director MX 2004. It provides a tree-like interface that exposes the entire Director environment through a series of logically organized objects. A great thing about the DOM is that it is global in scope, meaning you can access it anytime and anywhere.

This appendix, compiled from Director's Help, is provided to help you quickly identify the methods and properties of the various core objects. The following image helps to show the relationship of these objects to one another:

The Cast Library ObjectMethods

findEmpty()


The Cast Library ObjectProperties

fileName (Cast)

number (Cast)

member (Cast)

preLoadMode

name

selection


The Global ObjectMethods

clearGlobals()

showGlobals()


The Key ObjectMethods

keyPressed()


The Key ObjectProperties

commandDown

keyCode

controlDown

optionDown

Key

shiftDown


The Member ObjectMethods

copyToClipBoard()

move()

duplicate() (Member)

pasteClipBoardInto()

erase()

preLoad() (Member)

importFileInto()

unLoad() (Member)


The Member ObjectProperties

castLibNum

modifiedDate

comments

name

creationDate

number (Member)

fileName (Member)

purgePriority

height

rect (Member)

hilite

regPoint

linked

scriptText

loaded

size

media

thumbNail

mediaReady

type (Member)

modified

width

modifiedBy

 


The Mouse ObjectProperties

clickLoc

mouseLoc

clickOn

mouseMember

doubleClick

mouseUp

mouseChar

mouseV

mouseDown

mouseWord

mouseH

rightMouseDown

mouseItem

rightMouseUp

mouseLine

stillDown


The Movie ObjectMethods

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()


The Movie ObjectProperties

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)


The Player ObjectMethods

alert()

getPref()

appMinimize()

halt()

cursor()

open() (Player)

externalParamName()

quit()

externalParamValue()

setPref()

flushInputEvents()

windowPresent()


The Player ObjectProperties

activeCastLib

netPresent

activeWindow

netThrottleTicks

alertHook

organizationName

applicationName

productName

applicationPath

productVersion

currentSpriteNum

safePlayer

debugPlaybackEnabled

scriptingXtraList

digitalVideoTimeScale

searchCurrentFolder

disableImaging Transformation

searchPathList

emulateMultibuttonMouse

serialNumber

externalParamCount

sound (Player)

frontWindow

switchColorDepth

inlineImeEnabled

toolXtraList

lastClick

transitionXtraList

lastEvent

userName

lastKey

window

lastRoll

xtra

mediaXtraList

xtraList (Player)


The Sound ObjectMethods

beep()

channel() (Sound)


The Sound ObjectProperties

soundDevice

soundKeepDevice

soundDeviceList

soundLevel

soundEnabled

soundMixMedia


The Sound Channel ObjectMethods

breakLoop()

play() (Sound Channel)

fadeIn()

playFile()

fadeOut()

playNext() (Sound Channel)

fadeTo()

queue()

getPlayList()

rewind() (Sound Channel)

isBusy()

setPlayList()

pause() (Sound Channel)

stop() (Sound Channel)


The Sound Channel ObjectProperties

channelCount

member (Sound Channel)

elapsedTime

pan

endTime

sampleCount

loopCount

sampleRate

loopEndTime

startTime

loopsRemaining

status

loopStartTime

volume (Sound Channel)


The Sprite ObjectProperties

backColor

locV

blend (Sprite)

locZ

bottom

member (Sprite)

constraint

name (Sprite)

cursor

quad

editable

rect (Sprite)

endFrame

right

flipH

rotation

flipV

skew

foreColor

spriteNum

height

startFrame

ink

top

left

width

locH

 


The Sprite Channel ObjectMethods

makeScriptedSprite()

removeScriptedSprite()


The Sprite Channel ObjectProperties

name (Sprite Channel)

scripted

number (Sprite Channel)

sprite (Sprite Channel)


The System ObjectMethods

date() (System)

shutDown()

restart()

time() (System)


The System ObjectProperties

ColorDepth

environmentPropList

DeskTopRectList

milliseconds


The Window ObjectMethods

close()

moveToBack()

forget() (Window)

moveToFront()

maximize()

open() (Window)

mergeProps()

restore()

minimize()

 


The Window ObjectProperties

appearanceOptions

resizable

bgColor (Window)

sizeState

dockingEnabled

sourceRect

drawRect

title (Window)

fileName (Window)

titlebarOptions

image (Window)

type (Window)

movie

visible

name

windowBehind

picture (Window)

windowInFront

rect (Window)

 




Macromedia Director MX 2004. Training from the Source
Macromedia Director MX 2004: Training from the Source
ISBN: 0321223659
EAN: 2147483647
Year: 2003
Pages: 166
Authors: Dave Mennenoh

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net