Methods A-Z
All 488 documented Director MX 2004 methods and functions, with page references into the official Scripting Reference.
Using this index#
Every documented method/function of Director MX 2004, alphabetically. "Ref. p." is the page in the official Director MX 2004 Scripting Reference PDF. Names shown with () are functions in the documented calling style; entries marked by object (e.g. play() (Sound Channel)) have per-object documentation.
Commonly used methods#
The subset that appears in nearly every preserved movie, with links to the pages that explain their semantics:
| Method | What it does |
|---|
go() / goLoop() / goNext() / goPrevious() | Playhead navigation to frame/marker. |
play() / play done | Navigation with return stack. |
updateStage() | Immediate redraw + stepFrame, no head advance. |
puppetSprite() | Hand a channel to Lingo. |
puppetTempo() / puppetPalette() / puppetTransition() | Override effects channels. |
puppetSound() | Play a sound in a channel (legacy form). |
sendSprite() / sendAllSprites() | Message sprites through the hierarchy. |
call() / callAncestor() | Direct instance messaging. |
new() / rawNew() | Instantiate parent scripts / members. |
newMember() | Create a cast member at runtime. |
member() / sprite() / castLib() / script() / window() / xtra() | Object lookup. |
point() / rect() / rgb() / list() / propList() / symbol() / image() | Constructors. |
add() / addAt() / addProp() / deleteAt() / deleteProp() / getaProp() / getAt() / setAt() / setaProp() / sort() / count() / getOne() / getPos() / duplicate() | List operations (details). |
string() / integer() / float() / value() / ilk() / voidP() / objectP() | Coercion and type tests. |
charToNum() / numToChar() / length() / offset() / chars() | String operations. |
copyPixels() / getPixel() / setPixel() / crop() / draw() / fill() / createMatte() / createMask() / extractAlpha() / setAlpha() | Imaging Lingo (semantics). |
getNetText() / postNetText() / netDone() / netError() / netTextResult() / preloadNetThing() / gotoNetMovie() / gotoNetPage() | Network (semantics). |
preLoad() / preLoadMember() / unLoad() / unLoadMember() / frameReady() | Memory/streaming. |
timeout() | Timer objects (semantics). |
alert() / put() / trace() | Output/diagnostics. |
random() / abs() / sqrt() / sin() / cos() / atan() / power() / mod | Math. |
cursor() | Pointer control. |
quit() / halt() / restart() / shutDown() | Session end. |
pass / stopEvent() | Event propagation (semantics). |
openFile() / readFile() / writeString() / closeFile() (FileIO) | File access via Xtra (details). |
Full A-Z index#
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
abort | 227 | abs() | 228 | activateAtLoc() | 228 |
activateButton() | 229 | add | 230 | add (3D texture) | 230 |
addAt | 231 | addBackdrop | 232 | addCamera | 232 |
addChild | 233 | addModifier | 234 | addOverlay | 235 |
addProp | 236 | addToWorld | 237 | addVertex() | 237 |
alert() | 238 | append | 239 | appMinimize() | 240 |
atan() | 240 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
beep() | 241 | beginRecording() | 242 | bitAnd() | 243 |
bitNot() | 244 | bitOr() | 244 | bitXor() | 245 |
breakLoop() | 246 | browserName() | 246 | build() | 247 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
cacheDocVerify() | 248 | cacheSize() | 249 | call | 250 |
callAncestor | 252 | callFrame() | 253 | camera() | 254 |
cameraCount() | 254 | cancelIdleLoad() | 255 | castLib() | 255 |
channel() (Top level) | 256 | channel() (Sound) | 257 | chapterCount() | 257 |
charPosToLoc() | 258 | chars() | 258 | charToNum() | 259 |
clearAsObjects() | 260 | clearCache | 261 | clearError() | 262 |
clearFrame() | 263 | clearGlobals() | 263 | clone | 264 |
cloneDeep | 265 | cloneModelFromCastmember | 265 | cloneMotionFromCastmember | 266 |
close() | 266 | closeFile() | 267 | closeXlib | 268 |
color() | 268 | constrainH() | 269 | constrainV() | 270 |
copyPixels() | 271 | copyToClipBoard() | 273 | cos() | 274 |
count() | 274 | createFile() | 275 | createMask() | 275 |
createMatte() | 276 | crop() (Image) | 276 | crop() (Bitmap) | 277 |
cross | 277 | crossProduct() | 278 | cursor() | 278 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
date() (formats) | 282 | date() (System) | 284 | delay() | 284 |
delete() | 286 | deleteAt | 286 | deleteCamera | 287 |
deleteFrame() | 287 | deleteGroup | 288 | deleteLight | 289 |
deleteModel | 289 | deleteModelResource | 290 | deleteMotion | 290 |
deleteOne | 291 | deleteProp | 291 | deleteShader | 292 |
deleteTexture | 292 | deleteVertex() | 293 | displayOpen() | 293 |
displaySave() | 294 | do | 294 | doneParsing() | 295 |
dot() | 295 | dotProduct() | 296 | downloadNetThing | 296 |
draw() | 297 | duplicate() (Image) | 298 | duplicate() (list function) | 299 |
duplicate() (Member) | 299 | duplicateFrame() | 300 | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
enableHotSpot() | 301 | endRecording() | 301 | erase() | 302 |
error() | 303 | externalEvent() | 304 | extrude3D | 305 |
externalParamName() | 306 | externalParamValue() | 307 | extractAlpha() | 309 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
fadeIn() | 309 | fadeOut() | 310 | fadeTo() | 311 |
fileName() | 311 | fill() | 312 | findLabel() | 313 |
findEmpty() | 313 | findPos | 314 | findPosNear | 314 |
finishIdleLoad() | 315 | flashToStage() | 316 | float() | 317 |
floatP() | 317 | flushInputEvents() | 318 | forget() (Window) | 319 |
forget() (Timeout) | 319 | framesToHMS() | 320 | frameReady() (Movie) | 321 |
frameStep() | 322 | freeBlock() | 322 | freeBytes() | 323 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
generateNormals() | 324 | getaProp | 325 | getAt | 326 |
getError() (Flash, SWA) | 327 | getError() (XML) | 329 | getErrorString() | 329 |
getFinderInfo() | 330 | getFlashProperty() | 331 | getFrameLabel() | 332 |
getHardwareInfo() | 332 | getHotSpotRect() | 333 | getLast() | 334 |
getLatestNetID | 334 | getLength() | 335 | getNetText() | 335 |
getNormalized | 336 | getNthFileNameInFolder() | 337 | getOne() | 338 |
getOSDirectory() | 338 | getPixel() | 339 | getPlayList() | 340 |
getPosition() | 341 | getPref() | 341 | getPos() | 342 |
getPref() | 343 | getProp() | 343 | getPropAt() | 344 |
getRendererServices() | 344 | getStreamStatus() | 345 | getVariable() | 346 |
getWorldTransform() | 347 | go() | 348 | goLoop() | 349 |
goNext() | 350 | goPrevious() | 351 | goToFrame() | 351 |
gotoNetMovie | 352 | gotoNetPage | 353 | group() | 354 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
halt() | 354 | handler() | 355 | handlers() | 355 |
hilite (command) | 356 | hitTest() | 356 | HMStoFrames() | 357 |
hold() | 358 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
identity() | 359 | idleLoadDone() | 360 | ignoreWhiteSpace() | 360 |
ilk() | 361 | ilk (3D) | 363 | image() | 364 |
importFileInto() | 365 | insertBackdrop | 367 | insertFrame() | 367 |
insertOverlay | 368 | inside() | 369 | installMenu | 369 |
integer() | 370 | integerP() | 371 | interface() | 371 |
interpolate() | 372 | interpolateTo() | 372 | intersect() | 373 |
inverse() | 373 | invert() | 374 | isBusy() | 374 |
isInWorld() | 375 | isPastCuePoint() | 376 | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
keyPressed() | 377 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
label() | 378 | last() | 379 | lastClick() | 380 |
lastEvent() | 380 | length() | 381 | light() | 381 |
lineHeight() | 382 | linePosToLocV() | 382 | linkAs() | 383 |
list() | 383 | listP() | 384 | loadFile() | 385 |
locToCharPos() | 385 | locVToLinePos() | 386 | log() | 387 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
makeList() | 387 | makeScriptedSprite() | 388 | makeSubList() | 389 |
map() | 389 | map (3D) | 390 | mapMemberToStage() | 390 |
mapStageToMember() | 391 | marker() | 391 | max() | 392 |
maximize() | 393 | mci | 394 | member() | 394 |
mergeDisplayTemplate() | 395 | mergeProps() | 396 | mesh (property) | 396 |
meshDeform (modifier) | 397 | min | 398 | minimize() | 399 |
model | 399 | modelResource | 400 | modelsUnderLoc | 401 |
modelsUnderRay | 402 | modelUnderLoc | 404 | motion() | 405 |
move() | 405 | moveToBack() | 406 | moveToFront() | 407 |
moveVertex() | 407 | moveVertexHandle() | 408 | multiply() | 409 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
neighbor | 409 | netAbort | 410 | netDone() | 410 |
netError() | 412 | netLastModDate() | 413 | netMIME() | 414 |
netStatus | 415 | netTextResult() | 415 | new() | 416 |
newCamera | 419 | newCurve() | 420 | newGroup | 420 |
newLight | 421 | newMember() | 421 | newMesh | 423 |
newModel | 424 | newModelResource | 425 | newMotion() | 426 |
newObject() | 426 | newShader | 427 | newTexture | 428 |
normalize | 429 | nothing | 430 | nudge() | 431 |
numToChar() | 432 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
objectP() | 433 | offset() (string function) | 433 | offset() (rectangle function) | 435 |
open() (Player) | 435 | open() (Window) | 436 | openFile() | 437 |
openXlib | 437 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
param() | 438 | paramCount() | 439 | parseString() | 439 |
parseURL() | 440 | pass | 442 | pasteClipBoardInto() | 443 |
pause() (DVD) | 444 | pause() (Sound Channel) | 444 | pause() (3D) | 445 |
pause() (RealMedia, SWA, Windows Media) | 445 | perpendicularTo | 446 | pictureP() | 446 |
play() (3D) | 447 | play() (DVD) | 448 | play() (Sound Channel) | 450 |
play() (RealMedia, SWA, Windows Media) | 452 | playFile() | 453 | playFromToTime() | 454 |
playNext() (Sound Channel) | 454 | playNext() (3D) | 455 | playerParentalLevel() | 456 |
point() | 456 | pointAt | 457 | pointInHyperlink() | 458 |
pointToChar() | 459 | pointToItem() | 460 | pointToLine() | 461 |
pointToParagraph() | 462 | pointToWord() | 463 | postNetText | 464 |
power() | 465 | preLoad() (Member) | 465 | preLoad() (Movie) | 466 |
preLoadBuffer() | 467 | preLoadMember() | 468 | preLoadMovie() | 469 |
preloadNetThing() | 469 | preMultiply | 470 | preRotate | 471 |
preScale() | 472 | preTranslate() | 473 | print() | 474 |
printAsBitmap() | 474 | printFrom() | 475 | propList() | 476 |
proxyServer | 477 | ptToHotSpotID() | 477 | puppetPalette() | 478 |
puppetSprite() | 479 | puppetTempo() | 480 | puppetTransition() | 481 |
put() | 483 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
qtRegisterAccessKey() | 484 | qtUnRegisterAccessKey() | 484 | queue() | 484 |
queue() (3D) | 486 | QuickTimeVersion() | 487 | quit() | 487 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
ramNeeded() | 488 | random() | 489 | randomVector() | 490 |
randomVector | 491 | rawNew() | 491 | readChar() | 492 |
readFile() | 492 | readLine() | 493 | readToken() | 493 |
readWord() | 494 | realPlayerNativeAudio() | 494 | realPlayerPromptToInstall() | 495 |
realPlayerVersion() | 496 | recordFont | 497 | rect() | 498 |
registerForEvent() | 500 | registerScript() | 501 | removeBackdrop | 503 |
removeFromWorld | 503 | removeLast() | 504 | removeModifier | 504 |
removeOverlay | 505 | removeScriptedSprite() | 505 | resetWorld | 506 |
resolveA | 506 | resolveB | 507 | restart() | 507 |
restore() | 508 | result | 508 | resume() | 509 |
returnToTitle() | 509 | revertToWorldDefaults | 510 | rewind() (Sound Channel) | 510 |
rewind() (Windows Media) | 511 | rewind() (Animated GIF, Flash) | 511 | rollOver() | 512 |
rootMenu() | 513 | rotate | 514 | runMode | 515 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
save castLib | 516 | saveMovie() | 517 | scale (command) | 517 |
script() | 518 | scrollByLine() | 519 | scrollByPage() | 520 |
seek() | 520 | selectAtLoc() | 521 | selectButton() | 522 |
selectButtonRelative() | 522 | selection() (function) | 523 | sendAllSprites() | 523 |
sendEvent | 524 | sendSprite() | 525 | setAlpha() | 526 |
setaProp | 526 | setAt | 527 | setCallback() | 528 |
setCollisionCallback() | 529 | setFilterMask() | 530 | setFinderInfo() | 530 |
setFlashProperty() | 531 | setNewLineConversion() | 532 | setPixel() | 532 |
setPlayList() | 533 | setPosition() | 534 | setPref() | 534 |
setProp | 535 | setScriptList() | 536 | settingsPanel() | 536 |
setPref() | 537 | setTrackEnabled() | 538 | setVariable() | 539 |
shader() | 540 | showLocals() | 541 | showProps() | 541 |
showGlobals() | 542 | shutDown() | 543 | sin() | 543 |
sort | 544 | sound() | 544 | sprite() | 545 |
spriteSpaceToWorldSpace | 545 | sqrt() | 546 | stageBottom | 547 |
stageLeft | 547 | stageRight | 548 | stageToFlash() | 548 |
stageTop | 549 | status() | 550 | stop() (DVD) | 550 |
stop() (Sound Channel) | 551 | stop() (Flash) | 552 | stop() (RealMedia, SWA, Windows Media) | 552 |
stopEvent() | 553 | stream() | 554 | string() | 555 |
stringP() | 556 | subPictureType() | 556 | substituteFont | 557 |
swing() | 558 | symbol() | 559 | symbolP() | 559 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
tan() | 560 | tellStreamStatus() | 560 | tellTarget() | 561 |
texture() | 563 | time() (System) | 564 | timeout() | 564 |
titleMenu() | 565 | top (3D) | 565 | topCap | 566 |
topRadius | 566 | trace() | 567 | transform (command) | 567 |
translate | 568 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
union() | 569 | unLoad() (Member) | 570 | unLoad() (Movie) | 571 |
unLoadMember() | 571 | unLoadMovie() | 572 | unregisterAllEvents | 573 |
update | 574 | updateFrame() | 574 | updateStage() | 575 |
URLEncode | 576 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
value() | 576 | vector() | 578 | version() | 578 |
voiceCount() | 579 | voiceGet() | 579 | voiceGetAll() | 580 |
voiceGetPitch() | 581 | voiceGetRate() | 581 | voiceGetVolume() | 582 |
voiceInitialize() | 582 | voicePause() | 583 | voiceResume() | 584 |
voiceSet() | 584 | voiceSetPitch() | 585 | voiceSetRate() | 585 |
voiceSetVolume() | 586 | voiceSpeak() | 586 | voiceState() | 587 |
voiceStop() | 587 | voiceWordPos() | 588 | voidP() | 589 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
window() | 589 | windowPresent() | 590 | worldSpaceToSpriteSpace | 591 |
writeChar() | 591 | writeReturn() | 592 | writeString() | 592 |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
xtra() | 592 | | | | |
| Name | Ref. p. | Name | Ref. p. | Name | Ref. p. |
|---|
zoomBox | 593 | | | | |