MACROMEDIA Director MX User Manual

Lingo Dictionary
Macromedia Director MX
Trademarks
Afterburner, AppletAce, Attain, Attain Enterprise Learning System, Attain Essentials, Attain Objects for Dreamweaver, Authorware, Authorware Attain, Authorware Interactive Studio, Authorware Star, Authorware Synergy, Backstage, Backstage Designer, Backstage Desktop Studio, Backstage Enterprise Studio, Backstage Internet Studio, Contribute, Design in Motion, Director, Director Multimedia Studio, Doc Around the Clock, Dreamweaver, Dreamweaver Attain, Drumbeat, Drumbeat 2000, Extreme 3D, Fireworks, Flash, Fontographer, FreeHand, FreeHand Graphics Studio, Generator, Generator Developer’s Studio, Generator Dynamic Graphics Server, Knowledge Objects, Knowledge Stream, Knowledge Track, Lingo, Live Effects, Macromedia, Macromedia M Logo & Design, Macromedia Contribute, Macromedia Flash, Macromedia Xres, Macromind, Macromind Action, MAGIC, Mediamaker, Object Authoring, Power Applets, Priority Access, Roundtrip HTML, Scriptlets, SoundEdit, ShockRave, Shockmachine, Shockwave, Shockwave Remote, Shockwave Internet Studio, Showcase, Tools to Power Your Ideas, Universal Media, Virtuoso, Web Design 101, Whirlwind and Xtra are trademarks of Macromedia, Inc. and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words or phrases mentioned within this publication may be trademarks, servicemarks, or tradenames of Macromedia, Inc. or other entities and may be registered in certain jurisdictions including internationally.
This guide contains links to third-party Web sites that are not under the control of Macromedia, and Macromedia is not responsible for the content on any linked site. If you access a third-party Web site mentioned in this guide, then you do so at your own risk. Macromedia provides these links only as a convenience, and the inclusion of the link does not imply that Macromedia endorses or accepts any responsibility for the content on those third-party sites.
Apple Disclaimer APPLE COMPUTER, INC. MAKES NO WARRANTIES, EITHER EXPRESS OR IMPLIED, REGARDING THE ENCLOSED
COMPUTER SOFTWARE PACKAGE, ITS MERCHANTABILITY OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. THE EXCLUSION OF IMPLIED WARRANTIES IS NOT PERMITTED BY SOME STATES. THE ABOVE EXCLUSION MAY NOT APPLY TO YOU. THIS WARRANTY PROVIDES YOU WITH SPECIFIC LEGAL RIGHTS. THERE MAY BE OTHER RIGHTS THAT YOU MAY HAVE WHICH VARY FROM STATE TO STATE.
Copyright © 2002 Macromedia, Inc. All rights reserved. This manual may not be copied, photocopied, reproduced, translated, or converted to any electronic or machine-readable form in whole or in part without prior written approval of Macromedia, Inc. Third Party Software Notices and/or Additional Terms and Conditions can be found at http://www.macromedia.com/go/thirdparty/. Part Number ZDR90M200
Acknowledgments
Writing: Jay Armstrong, George Brown, Stephanie Gowin, and, Tim Statler Editing: Rosana Francescato, Mary Ferguson, Mary Kraemer, and Noreen Maher Project Management: Stuart Manning Production: Chris Basmajian, Caroline Branch, John Francis, and Patrice O’Neill Multimedia: Aaron Begley and Benjamin Salles
First Edition: December 2002
Macromedia, Inc. 600 Townsend St. San Francisco, CA 94103
CHAPTER 1
Lingo by Feature
This chapter lists various Macromedia Director MX features and the corresponding Lingo elements that you can use to implement those features.
Accessibility
These terms are useful for making movies accessible to the disabled:
Text-to-speech
voiceCount() voiceSet()
voiceGet() voiceSetPitch()
voiceGetPitch() voiceSetRate()
voiceGetRate() voiceSetVolume()
voiceGetVolume() voiceSpeak()
voiceInitialize() voiceState()
voicePause() voiceStop()
voiceResume() voiceWordPos()
Keyboard navigation
autoTab selection (cast property)
hilite (command) selectedText
keyboardFocusSprite selEnd
selection (text cast member property) selStart
selection() (function)
3
Animated GIFs
These terms are useful for working with animated GIFs:
directToStage pause (movie playback)
frameRate playBackMode
linked resume sprite
moviePath rewind sprite
Animation
These terms are useful for creating animation with Lingo:
blend locV
ink member (sprite property)
loc regPoint
locH tweened
Behaviors
The terms in this section are useful for authoring behaviors and using behaviors while the movie plays.
Authoring behaviors
Use these terms to set up behaviors and the behavior’s Parameters dialog box:
ancestor on getBehaviorDescription
on runPropertyDialog on getPropertyDescriptionList
on getBehaviorTooltip property
on isOKToAttach
Sending messages to behaviors
Use these commands to send messages to behaviors attached to sprites:
call sendSprite
callAncestor sendAllSprites
Identifying behaviors
Use these terms to identify the behaviors attached to sprites:
currentSpriteNum scriptInstanceList
me spriteNum
Chapter 14
Bitmaps
The terms in this section are useful for working with bitmaps.
Bitmap properties
Use these terms to check and set bitmap properties:
alphaThreshold foreColor
backColor palette
blend picture (cast member property)
depth pictureP()
dither rect (member)
trimWhiteSpace (property) imageCompression
imageQuality movieImageCompression
movieImageQuality
Alpha channel
Use these terms to control alpha channel effects:
alphaThreshold dither
depth useAlpha
createMask() createMatte()
extractAlpha() setAlpha()
Image objects
Use these terms to create and control image objects:
copyPixels() fill()
crop() (image object command) image
draw() image()
duplicate() (image function) rect (image)
getPixel() setPixel()
Buttons
See Buttons and check boxes in the Interface Elements section.
Lingo by Feature 5
Cast members
The terms in this section are useful for working with cast members.
Creating cast members
importFileInto and new() to create cast members.
Use
Authoring
duplicate member, erase member, and pasteClipBoardInto to work with cast members
Use during authoring.
Graphic cast members
Use these terms to check and set the images assigned to graphic cast members:
center palette
crop (cast member property) picture (cast member property)
depth pictureP()
media regPoint
General cast member properties
Use these terms to check and set cast member properties:
fileName (cast member property) number (cast member property)
media preLoadMode
modified type (cast member property)
name (cast member property) URL
Graphic cast member dimensions
height, rect (member), and width to check and set dimensions for graphic cast members.
Use
Casts
The terms in this section are useful for working with casts.
Loading casts
preLoadMode to check and set when Director preloads a cast.
Use
Cast properties
Use these terms to specify cast properties:
castLib number (cast property)
fileName (cast property) number (system property)
name (cast property)
Chapter 16
Cast management
Use these terms to manage casts:
activeCastLib number of members
duplicate member pasteClipBoardInto
erase member save castLib
findEmpty() selection (cast property)
move member
Computer and operating system
Use these terms to check and control the computer:
beep freeBlock()
beepOn freeBytes()
cpuHogTicks maxInteger
emulateMultiButtonMouse multiSound
floatPrecision romanLingo
Operating system control
Use
restart and shutDown to control the operating system.
Data types
These terms are useful for specifying data types:
# (symbol) string()
float() stringP()
floatP() symbol()
integer() symbolP()
integerP() VOID
objectP() voidP()
Digital video
These terms are useful for working with AVI and QuickTime digital video:
controller trackNextSampleTime
digitalVideoTimeScale trackPreviousKeyTime
digitalVideoType trackPreviousSampleTime
directToStage trackStartTime (sprite property)
duration trackStartTime (cast member property)
frameRate trackStopTime (sprite property)
loop (cast member property) trackStopTime (cast member property)
movieRate trackText
Lingo by Feature 7
movieTime trackType (cast member property)
pausedAtStart (Flash, digital video) trackType (sprite property)
quickTimeVersion() trackCount (cast member property)
timeScale trackCount (sprite property)
trackEnabled video (QuickTime, AVI)
trackNextKeyTime videoForWindowsPresent
QuickTime
Use these terms to work with QuickTime:
enableHotSpot nodeType
fieldOfView nudge
getHotSpotRect() pan (QTVR property)
hotSpotExitCallback ptToHotSpotID()
hotSpotEnterCallback quickTimeVersion()
invertMask rotation
isVRMovie scale
loopBounds swing()
mask staticQuality
motionQuality tilt
mouseLevel translation
node triggerCallback
nodeEnterCallback warpMode
nodeExitCallback
RealMedia video
Use these terms to with RealMedia video:
audio (RealMedia) play
currentTime (RealMedia) realPlayerNativeAudio()
displayRealLogo realPlayerPromptToInstall()
duration (RealMedia) realPlayerVersion()
image (RealMedia) seek
lastError soundChannel (RealMedia)
mediaStatus state (RealMedia)
password stop (RealMedia)
pause (RealMedia) userName (RealMedia)
pausedAtStart (RealMedia) video (RealMedia)
percentBuffered
Chapter 18
Events
Use these event handlers for Lingo that runs when a specific event occurs:
activeCastLib on moveWindow
close window on mouseWithin
on cuePassed open window
on deactivateWindow on prepareFrame
on enterFrame on prepareMovie
on EvalScript on resizeWindow
on exitFrame on mouseUpOutside
on idle on rightMouseDown (event handler)
on keyDown on rightMouseUp (event handler)
on keyUp on startMovie
on mouseDown (event handler) on stepFrame
on mouseEnter on streamStatus
on mouseLeave on timeOut
on mouseUp (event handler) on zoomWindow
on stopMovie on beginSprite
on endSprite on hyperlinkClicked
Use the
pass and stopEvent commands to override the way that Director passes messages along
the message hierarchy.
External files
The terms in this section are useful for working with external files.
Path names and filenames
Use these terms to check and set path names and filenames:
@ (pathname) getNthFileNameInFolder()
applicationPath moviePath
fileName (cast property) searchCurrentFolder
fileName (cast member property) URL
Obtaining external media
Use these terms to obtain external media:
downloadNetThing preloadNetThing()
importFileInto
Lingo by Feature 9
Managing external files
Use these terms to manage external files:
closeXlib showXlib
open sound playFile
openXlib
Flash
These terms are useful for working with Flash cast members:
actionsEnabled originV
broadcastProps pathName (movie property)
bufferSize pausedAtStart (Flash, digital video)
buttonsEnabled percentStreamed
bytesStreamed play
callFrame() playBackMode
centerRegPoint playing
clearError posterFrame
clickMode print()
defaultRect printAsBitmap()
defaultRectMode quality
directToStage rewind sprite
endTellTarget() See tellTarget() rotation
eventPassMode scale
findLabel() scaleMode
fixedRate on sendXML
flashRect setCallback()
flashToStage() settingsPanel()
frame() (function) setFlashProperty()
frame (sprite property) setVariable()
frameCount showProps()
frameRate sound
frameReady() the soundMixMedia
getError() sourceFileName
getFlashProperty() stageToFlash()
getFrameLabel() state (Flash, SWA)
getVariable() static
goToFrame stop (Flash)
Chapter 110
hitTest() stream
hold streamMode
imageEnabled streamSize
linked tellTarget()
loop (keyword) URL
mouseOverButton viewH
newObject() viewPoint
obeyScoreRotation viewScale
originH viewV
originMode volume (cast member property)
originPoint
These terms are useful for working with global Flash objects, which do not require a Flash cast member:
clearAsObjects() setCallback()
newObject()
Frames
The Lingo terms in this section let you work with frames.
Frame events
Use the
on enterFrame, on exitFrame, and on prepareFrame event handlers to contain Lingo
that runs at specific events within a frame.
Frame properties
Use these Lingo terms to check and set frame properties:
frameLabel frameTempo
framePalette frameTransition
frameScript label()
frameSound1 labelList
frameSound2 marker()
the markerList
Lingo by Feature 11
Interface elements
The Lingo terms in this section are useful for working with interface elements.
Menus
Use these terms to create menus:
enabled name (menu item property)
installMenu number (menu items)
menu number (menus)
name (menu property) script
Buttons and check boxes
Use these terms to specify buttons and check boxes:
alert checkBoxType
buttonStyle checkMark
buttonType hilite (cast member property)
checkBoxAccess
Keys
The Lingo terms in this section are related to using the keyboard.
Identifying keys
Use these terms to identify keys:
charToNum() keyPressed()
commandDown mouseChar
controlDown numToChar()
key() optionDown
keyCode() shiftDown
Keyboard interaction
keyPressed(), lastEvent(), and lastKey to detect what the user types at the keyboard.
Use
Keyboard events
Use these terms to set up handlers that respond to pressing keys:
on keyDown keyDownScript
on keyUp keyUpScript
flushInputEvents
Chapter 112
Lingo
The Lingo terms in this section are important language elements that you use to construct scripts.
Boolean values
Use these terms to test whether a condition exists:
FALSE (0 is the numerical equivalent of FALSE).
TRUE (1 is the numerical equivalent of TRUE).
not
or
Script control
Use these terms to control how a script executes:
abort pass
do result
exit scriptsEnabled
halt scriptText
nothing stopEvent
Code structures
Use
if to create if..then statements. case, end case, and otherwise in case statements.
Use Use these terms for repeat loops:
end repeat repeat with
exit repeat repeat with...down to
next repeat repeat with...in list
repeat while
Syntax elements
Use these terms as part of Lingo’s syntax:
# (symbol) member (keyword)
" (string) of
¬ (continuation) or
-- (comment) property
() (parentheses) sprite
castLib the
end window
global
Lingo by Feature 13
Lists
The terms in this section are useful for working with lists.
Creating lists
[ ] (list), duplicate() (list function), or list() to create a list.
Use
Adding list items
Use these terms to add items to a list:
[ ] (bracket access) addVertex
add append
addVertex
Deleting list items
Use these terms to delete items from a list:
deleteAll deleteOne
deleteAt deleteProp
Retrieving values from a list
Use these terms to retrieve values from a list:
[ ] (bracket access) getOne()
deleteProp getPos()
deleteProp getProp()
getLast() getPropAt()
Getting information about lists
Use these terms to get information about lists:
count() max()
findPos min
findPosNear param()
ilk() paramCount()
listP()
Setting values in a list
Use these terms to set values in a list:
[ ] (bracket access) setAt
setaProp setProp
Chapter 114
Media synchronization
Use these terms to synchronize animation and sound:
cuePointNames on cuePassed
cuePointTimes isPastCuePoint()
mostRecentCuePoint
Memory management
The terms in this section are useful for determining memory requirements and controlling when the movie loads and unloads cast members.
Idle events
Use the
on idle event handler for Lingo that runs when the movie is idle.
Idle loading
Use these terms to control idle loading:
cancelIdleLoad idleLoadPeriod
finishIdleLoad idleLoadTag
idleHandlerPeriod idleReadChunkSize
idleLoadDone() netThrottleTicks
Preloading and querying media
Use these terms to load media into memory and check whether media are available:
frameReady() preloadNetThing()
loaded preLoadMember
mediaReady preLoadMovie
preLoad (command) preLoadRAM
preLoad (cast member property) purgePriority
preLoadBuffer member unLoad
preLoadEventAbort unLoadMember
preLoadMode unloadMovie
Available memory
Use these terms to check how much memory is available:
freeBlock() movieFileFreeSize
freeBytes() movieFileSize
memorySize
Lingo by Feature 15
Memory requirements
Use
ramNeeded() and size to determine how much memory required for a cast member or a
range of frames.
Menus
See Menus in the Interface elements section.
Message window
Use these terms to work in the Message window:
put traceLoad
showXlib traceLogFile
trace appMinimize
Monitor
Use colorDepth, deskTopRectList, and switchColorDepth to check and control the monitor.
Mouse interaction
The terms in this section are useful for Lingo related to using the mouse.
Mouse clicks
Use these terms to detect what the user does with the mouse:
clickOn mouseLine
doubleClick mouseLoc
emulateMultiButtonMouse mouseMember
lastClick() mouseOverButton
lastEvent() on mouseUp (event handler)
lastRoll mouseV
mouseChar mouseWord
on mouseDown (event handler) on rightMouseDown (event handler)
mouseH on rightMouseUp (event handler)
mouseItem rollOver()
mouseLevel stillDown
Chapter 116
Mouse events
Use these terms to set up handlers that respond to mouse events:
mouseDownScript on mouseUp (event handler)
mouseUpScript on mouseUpOutside
on mouseDown (event handler) on mouseWithin
on mouseEnter on rightMouseDown (event handler)
on mouseLeave on rightMouseUp (event handler)
Cursor control
Use
cursor (command), cursor (sprite property), and cursorSize to control the
pointer (cursor).
Movies in a window
The terms in this section are useful for working with movies in a window.
Movie in a window events
Use these event handlers to contain Lingo that you want to run in response to events in a movie in a window:
activeCastLib on openWindow
on closeWindow on resizeWindow
on moveWindow on zoomWindow
Opening and closing movies in a window
Use these terms for opening and closing windows:
close window open window
forget windowList
Window appearance
Use these terms to check and set the appearance of a movie’s window:
drawRect sourceRect
fileName (window property) tell
frontWindow title
modal titleVisible
moveToBack visible (window property)
moveToFront windowPresent()
name (window property) windowType
rect (window) appMinimize
Lingo by Feature 17
Communication between movies
Use the
tell command to send messages between movies.
Movies
The terms in this section are useful for managing movies.
Stopping movies
Use these terms to stop or quit the movie or projector:
exitLock quit
halt restart
pauseState shutDown
Movie information
Use these terms to obtain information about the movie and the movie’s environment:
environment moviePath
lastFrame number (system property)
movie runMode
movieFileFreeSize safePlayer
movieFileSize version
movieName movieFileVersion
Source control
Use these terms to manage Director projects being worked on by more than one person:
comments creationDate
modifiedBy modifiedDate
linkAs() seconds
Saving movies
saveMovie and updateMovieEnabled to save changes to a movie.
Use
Error checking
Use the
alertHook event to post alerts that describe errors in a projector.
Movie events
Use the
on prepareMovie, on startMovie, and on stopMovie event handlers for Lingo that
responds to movie events.
Chapter 118
Multiuser server
Director MX users should use Macromedia Flash Communication Server MX for communication among Director movies and with application servers. For more information about using Flash Communication Server MX, see Using Flash Communication Server MX in Using Director.
Navigation
Use these terms to jump to different locations:
delay goToFrame
go gotoNetMovie
go loop gotoNetPage
go next play
go previous play done
Network Lingo
The terms in this section are useful for working with the network.
Downloading and streaming media
Use these terms to obtain or stream media from the network:
downloadNetThing (For projectors and authoring only)
getNetText() postNetText
gotoNetMovie preloadNetThing()
gotoNetPage
Checking availability
frameReady() and mediaReady to check whether specific media are
Use completely downloaded.
Using network operations
Use these terms to check the progress of a network operation or get information regarding network media:
getStreamStatus() netMIME()
getLatestNetID netTextResult()
netAbort on streamStatus
netDone() proxyServer
netError() tellStreamStatus()
netPresent URLEncode
netLastModDate()
Lingo by Feature 19
Working with the local computer
Use these terms to work with the user’s computer:
browserName() clearCache (For projectors and
cacheDocVerify() (For projectors and authoring only)
cacheSize() (For projectors and authoring only)
authoring only)
getPref()
setPref
Browsers
Use
on EvalScript, externalEvent, and netStatus to interact with browsers. For additional
information about browser scripting using languages such as JavaScript, see “Shockwave Publishing” on the Director Support Center at www.macromedia.com/support/director/ internet.html.
Accessing EMBED and OBJECT tag parameters
externalParamCount(), externalParamName(), and externalParamValue() to access
Use
EMBED and OBJECT parameter tags:
Operators
The terms in this section are operators available in Lingo.
Math operators
Use these terms for math statements:
* (multiplication) <> (not equal)
/ (division) > (greater than)
+ (addition) >= (greater than or equal to)
- (minus) < (less than)
= (equals) <= (less than or equal to)
Comparison operators
and, not, and or to compare expressions.
Use
Palettes and color
Use these terms to check and set palettes for movies and for cast members:
color() paletteMapping
depth puppetPalette
palette rgb()
Chapter 120
Parent scripts
Use these terms to work with parent scripts and child objects:
actorList property
ancestor on stepFrame
new() handler()
handlers() rawNew()
Points and rectangles
These terms are useful for checking and setting points and rectangles.
inflate quad
inside() rect (camera)
intersect() rect (sprite)
map() sourceRect
offset() (rectangle function) union()
point()
For Lingo that controls a sprite’s bounding rectangle, see Sprite dimensions.
Projectors
These terms are useful for working with projectors:
alertHook platform
environment runMode
editShortCutsEnabled
Puppets
Use these terms to control the puppet property of sprites and effects channels:
puppet puppetTempo
puppetPalette puppetTransition
puppetSound updateStage
puppetSprite
Random numbers
Use random() and randomSeed to generate random numbers.
Lingo by Feature 21
Score
The following terms let you work with the Score.
Score properties
lastFrame, score, and scoreSelection to work with the movie’s Score.
Use
Score generation
Use these terms to create Score content from Lingo:
beginRecording scoreSelection
clearFrame scriptNum
deleteFrame scriptType
duplicateFrame tweened
endRecording updateFrame
insertFrame updateLock
scoreColor
Shapes
Use these Lingo terms to work with shapes:
filled pattern
lineDirection shapeType
lineSize
Shockwave audio
Use these terms to check, stream, and play Shockwave audio sounds:
bitRate play member
bitsPerSample preLoadBuffer member
copyrightInfo preLoadTime
duration sampleRate
getError() soundChannel (SWA)
getErrorString() state (Flash, SWA)
numChannels stop member
pause (movie playback) streamName
percentPlayed URL
percentStreamed volume (cast member property)
Chapter 122
Sound
The terms in this section are useful for playing sounds.
Sound information
Use these terms to get information about a sound:
channelCount soundEnabled
sound volume (sprite property)
soundBusy() isBusy()
sampleCount status
Playing sound
Use these terms to control how sound plays:
puppetSound sound fadeOut
sound close sound playFile
sound fadeIn sound stop
breakLoop() elapsedTime
endTime fadeIn()
fadeOut() fadeTo()
getPlaylist() setPlaylist()
loopCount loopEndTime
loopStartTime loopsRemaining
member (sound property) pan (sound property)
pause() (sound playback) playNext()
queue() rewind()
stop() (sound) play() (sound)
RealMedia sound
See Digital video.
Sprites
The Lingo terms in this section are for sprites.
Sprite events
Use the
on beginSprite and on endSprite event handlers to contain Lingo that you want to
run when a sprite begins or ends.
Assigning cast members to sprites
castLibNum, member (sprite property), or memberNum to specify a sprite’s cast member.
Use
Lingo by Feature 23
Rotating sprites
Use the
rotation sprite property to rotate sprites.
Dragging sprites
Use these terms to set how the user can drag sprites:
constrainH() moveableSprite
constrainV() sprite...intersects
constraint sprite...within
Sprites and Lingo
Use these terms to manage how Lingo controls sprites:
puppetSprite spriteNum
puppet sendSprite
scriptNum sendAllSprites
scriptInstanceList
Drawing sprites on the Stage
Use these terms to control how Director draws a sprite on the Stage:
blend skew
flipH trails
flipV tweened
ink updateStage
quad visible (sprite property)
rotation
Sprite dimensions
Use these terms to check and set the size of a sprite’s bounding rectangle:
bottom right
height top
left width
quad zoomBox
You can also manipulate a sprite’s bounding rectangle with Lingo for rectangles. See Points and rectangles.
Sprite locations
Use the
Chapter 124
loc, locH, and locV sprite properties to check and set sprite locations.
Sprite color
Use these terms to check and set a sprite’s color:
backColor color (sprite and cast member property)
bgColor foreColor
Stage
These terms are useful for controlling the Stage and determining its size and location:
centerStage stageColor
fixStageSize stageLeft
picture (window property) stageRight
stage stageTop
stageBottom updateStage
Tempo
Use the puppetTempo command to control a movie’s tempo.
Text
The terms in this section are useful for working with text, strings, and fields.
Manipulating strings
Use these terms to manipulate strings:
& (concatenator) put...before
&& (concatenator) put...into
delete string()
hilite (cast member property) stringP()
put...after text
Chunk expressions
Use these terms to identify chunks of text:
char...of number (words)
chars() offset() (string function)
contains paragraph
EMPTY ref
item...of selection (text cast member property)
itemDelimiter selectedText
last() selEnd (fields only)
length() selStart (fields only)
Lingo by Feature 25
line...of string()
number (characters) stringP()
number (items) value()
number (lines) word...of
Editable text
Use the
editable property to specify whether text is editable.
Shocked fonts
Use these terms to include Shocked fonts with downloaded text:
recordFont bitmapSizes
originalFont characterSet
Character formatting
Use these terms to format text:
backColor fontf
bgColor fontSize
charSpacing fontStyle
color() foreColor
dropShadow
Paragraph formatting
Use these terms to format paragraphs:
alignment rightIndent
bottomSpacing tabCount
firstIndent tabs
fixedLineSpace top (3D)
leftIndent wordWrap
margin
Text cast member properties
Use these terms to work with the entire text content of a text cast member:
antiAlias kerning
antiAliasThreshold kerningThreshold
autoTab picture (cast member property)
HTML RTF
Lingo that applies to chunk expressions is also available to the text within a text cast member.
Chapter 126
Mouse pointer position in text
Use these terms to detect where the mouse pointer is within text:
pointInHyperlink() pointToParagraph()
pointToChar() pointToWord()
pointToItem()
Text boxes for field cast members
Use these terms to set up the box for a field cast member:
border lineHeight() (function)
boxType lineHeight (cast member property)
lineCount pageHeight
Scrolling text
Use these terms to work with scrolling text:
linePosToLocV() scrollByLine
locToCharPos() scrollByPage
locVToLinePos() scrollTop
Constants
Use these terms to work with constants:
BACKSPACE RETURN (constant)
EMPTY VOID
ENTER
Time
The terms in this section are useful for working with time.
Current date and time
Use these terms to determine the current date and time:
abbr, abbrev, abbreviated short
date() (system clock) systemDate
long
Lingo by Feature 27
Measuring time
Use these terms to measure time in a movie:
framesToHMS() ticks
HMStoFrames() time()
milliseconds timer
startTimer
Timeouts
Use these terms to handle timeouts:
timeoutKeyDown timeoutMouse
timeoutLapsed timeoutPlay
timeoutLength timeoutScript
name (timeout property) period
persistent target
time() timeout()
timeoutHandler timeoutList
Transitions
Use these terms to work with transitions:
changeArea puppetTransition
chunkSize transitionType
duration
Variables
The terms in this section are useful for creating and changing variables:
Creating variables
Use these terms to create variables:
= (equals) property
global
Testing and changing variables
Use these terms to check and change the values assigned to variables:
= (equals) put
clearGlobals set...to, set...=
globals showGlobals
ilk() showLocals
Chapter 128
Vector shapes
Use these Lingo terms to work with vector shapes:
addVertex gradientType
antiAlias imageEnabled
backgroundColor moveVertex()
broadcastProps moveVertexHandle()
centerRegPoint originH
closed originMode
defaultRect originPoint
defaultRectMode originV
deleteVertex() rotation
directToStage scale
endColor scaleMode
fillColor showProps()
fillCycles skew
fillDirection static
fillMode strokeColor
fillOffset strokeWidth
fillScale vertexList
flashRect viewPoint
flipH viewScale
flipV viewV
curve newCurve()
regPointVertex
XML parsing
The following Lingo is useful for XML parsing within Director.
attributeName ignoreWhiteSpace()
attributeValue makeList()
child (XML) makeSubList()
count() name (XML property)
doneParsing() parseString()
getError() (XML) parseURL()
Lingo by Feature 29
Xtra extensions
Use these terms to work with Xtra extensions:
movieXtraList xtra
name (system property) xtraList
number of xtras xtras
Chapter 130
Loading...
+ 726 hidden pages