| 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 ObjectMethodsfindEmpty() | The Cast Library ObjectPropertiesfileName (Cast) | number (Cast) | member (Cast) | preLoadMode | name | selection | The Global ObjectMethodsclearGlobals() | showGlobals() |
The Key ObjectMethodskeyPressed() |
The Key ObjectPropertiescommandDown | keyCode | controlDown | optionDown | Key | shiftDown |
The Member ObjectMethodscopyToClipBoard() | move() | duplicate() (Member) | pasteClipBoardInto() | erase() | preLoad() (Member) | importFileInto() | unLoad() (Member) |
The Member ObjectPropertiescastLibNum | 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 ObjectPropertiesclickLoc | mouseLoc | clickOn | mouseMember | doubleClick | mouseUp | mouseChar | mouseV | mouseDown | mouseWord | mouseH | rightMouseDown | mouseItem | rightMouseUp | mouseLine | stillDown |
The Movie ObjectMethodsbeginRecording() | 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 ObjectPropertiesAboutInfo | 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 ObjectMethodsalert() | getPref() | appMinimize() | halt() | cursor() | open() (Player) | externalParamName() | quit() | externalParamValue() | setPref() | flushInputEvents() | windowPresent() |
The Player ObjectPropertiesactiveCastLib | 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 ObjectMethodsbeep() | channel() (Sound) | The Sound ObjectPropertiessoundDevice | soundKeepDevice | soundDeviceList | soundLevel | soundEnabled | soundMixMedia | The Sound Channel ObjectMethodsbreakLoop() | 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 ObjectPropertieschannelCount | member (Sound Channel) | elapsedTime | pan | endTime | sampleCount | loopCount | sampleRate | loopEndTime | startTime | loopsRemaining | status | loopStartTime | volume (Sound Channel) |
The Sprite ObjectPropertiesbackColor | 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 ObjectMethodsmakeScriptedSprite() | removeScriptedSprite() |
The Sprite Channel ObjectPropertiesname (Sprite Channel) | scripted | number (Sprite Channel) | sprite (Sprite Channel) |
The System ObjectMethodsdate() (System) | shutDown() | restart() | time() (System) |
The System ObjectPropertiesColorDepth | environmentPropList | DeskTopRectList | milliseconds |
The Window ObjectMethodsclose() | moveToBack() | forget() (Window) | moveToFront() | maximize() | open() (Window) | mergeProps() | restore() | minimize() | |
The Window ObjectPropertiesappearanceOptions | 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) | | |