A
abort, 18, 54
Accessor method, 333
ActiveX control names, 554
ActiveX Xtra, 426
ActorList, 109, 347-348
Aftershock, 537
Alert, 139-142
dialogs.
See MUI Alert Dialogs.
messages, 139
alert
command, 57
events, 87
Alert() dialog, 393
alert() function, 89
Alert() method, 394
alertCode, 140
AlertHook, 89, 139-142
alertHook, 87
Alias, 371
Alphamania Sprite Xtra, 524
Alt-Enter, 11
Alt Key, 283
Alternative code, 120
Ancestor property, 345
aProp commands, 189
Arguments, 56-68.
See also Optional arguments; Passing arguments.
treatment.
See First argument passed.
types, variation, 63-66
Arithmetic operators, 227-231
Arrays, 153, 180.
See also Multidimensional arrays.
ASCII, 280, 387
codes, 385, 529-536, 555, 558
table, 556
values, 529, 531, 556, 558
Assignment, 24, 37
Asynchronous operations, 317
At commands, 189
Authoring, 584.
See also Scriptless authoring.
caveats, 298
environment, 550
Author-Time, keyboarding
comparison, 276
Authorware, 363
Auto-indenting, 132
AutoTab, 287
Auto-tabbing, 287
Auto-Typer applets, 385
Average, 234-235
avg() function, 56-57
AVI files, 310
B
Base class, 156
beginSprite events, 70, 256
Behavior Inspector, 83, 340
explanation, 325-326
pitfalls, 326
scripts, 74
usage, 325-326
Behavior instance, 348
Behavior Library, 338
Behavior Lingo, 345-349
Behavior scripts, 91
definition, 338-339
types, comparisons, 338-344
Behaviors, 79, 346
addition. See Runtime.
anatomy, 339-344
creation. See Simple behaviors.
definition, 321-326
handler execution, 347
usage, 335
Behaviors /parent scripts,
differences, 339
Behaviors /sprite scripts/frame scripts, difference, 338
Bitmap sprites, 252
Bitmaps, 10, 71, 74, 75
Blocks. See Code.
Boolean expressions, 174, 201
Boolean flag, 296
Boolean operators, comparison, 227
Boolean precedence, 179
Boolean properties, 173, 174-176
Boolean result, 166
Boolean values, 14, 203, 257
Breakpoints, 133-134, 137
Browser scripting, 554
Browsers, 557
Buddy API Xtra, 270, 297, 389
Buggy commands, 446
Built-in Lingo, 336
commands, 340
interception, 89
properties/constants, 23-26
Built-in symbol, 522
Bullet-proofing, 122
Button Editor Xtra, 255
Buttons, 550. See also Custom buttons; GUI buttons; Macintosh; Multi-state buttons; Right mouse button; Windows.
buttonStyle, 260
C
C, 150, 152, 153, 363
arrays, 153
code, 155
debugger, 154
C++, 150, 155, 156, 326
C+, comparison. See Object-oriented programming.
C/C++, 68
Call stack, 9
Calling
handler, 16
routine, 63, 185
Calls. See Nested handler calls.
Caps Lock, 282
Card deck, simulation, 246-247
case statement, 50
Case statements, 49-50
Case-insensitive access, 198
Case-insensitive comparisons, 218
Case-insensitive filename
comparisons, 557
Case-sensitive four-character
File Type, 384
Case-sensitivity, 553-557
Cast member, 81
Cast members, 125, 178-179, 222, 225, 228. See also Movie scripts; Multi-state button cast members;
Script cast member; SWA cast members; Transition cast members.
finding, 85
Cast scripts, 73, 78-79, 94-96, 103
Cast window, 244, 325, 552
scripts, 73
castLib whichCast, 443
Castmember properties, 544, 549
Castmember scripts, 35
Categories, 444-446
Changed Lingo, 424-439
Channel number, 58
Character mapping, 215
Character streams, 155
Character-mapping capability, 529
Characters, 170
Chars, 216
charToNum(), 280, 281, 556
Child objects, 81, 140, 156,
328-329, 339
encapsulation, 333
properties, 213, 337-338
references, 335-338
Chunk expressions, 25, 215-226
chunkExpression, 444
Circle, area, 238
Circle, sprite movement, 238
Class hierarchy, 156
clearGlobals, 37
usage, 33
clickOn, 256
Code. See Alternative code; Recompiled code; Tokenized code.
blocks, consolidation, 118-119
comments, 40
creation, 335
stepping, 136-137
Code fragments, 43
Code structures. See Multiline code structures.
CodeWarrior, 364
Coding
debugging, 115-116
techniques, 116-120
tips, 113-125
Coin flips, simulation, 245-246
Command key, 283
Command summary, 440-520
Commands, 14-15. See also Buggy commands; Lists; Obsolete commands; Supplemental commands.
lists usage, 212-214
location, 11-12
success, checking, 120
Comma-separated string, 384
#comment, 341
Comment buttons, 40
Comment out, 39
Comments, 39-40, 444-446. See also Multiline comments.
usage, 40
writing, 40
CommPort, 427
Comparison
caveats, 174
expressions. See Improper comparison expressions.
operators, 173-174, 303
Comparisons, ensuring, 164
Compilation, 151-152. See also Dynamic compilation.
Compiled code, 86
Compiler error messages, 568-579
Compilers. See Macintosh; Supported compilers; Windows.
Compile-time error, 130, 131
Compound expressions, 177-178
errors, 177-178
non-list variables, 202
Concatenation operators, 178
Conditional execution, 43-55
Constants, 170-171. See Built-in Lingo properties/constants.
usage errors, 22-23
Constraints, 157
Container, 23
Context-sensitive menus, 263
Control key, 283
Convenience functions, 117
Conventions. See Stylistic conventions; Typographical conventions.
Conversion, 153. See also Data type conversion.
utilities, 310
createList, 143, 145
Creator code. See Macintosh.
Cue points, 301
Cursor insertion point, 290
Cursor-opaque sprites, 254-255, 272
Cursor-related events, 254
Cursors, 343
Custom Button Editor Xtra, 251, 425
Custom buttons, 273
Custom Cursor Xtra, 427, 548-549
Custom dialog boxes, 393, 425
Custom handler, 13, 132, 139
Custom menu, 299
Custom messages, 110-112
errors, 112
return values, 112
Custom mouse events, 271
Custom MUI Dialogs, 342, 376, 391, 393-394
D
Data entry, 233
Data file, 387
Data structures, 201
Data types, 26, 161-173, 179, 183. See also Non-list data types; Variables.
checking, 153
conversion, 153, 164, 227
Data, parsing. See Retrieved data.
Database, lists, 188
Date formats, 313-314
Date functions, 312-315
Date properties, 312-313
Dates, 301-314
.DCR extension, 373
Deallocation, 37
Debugger, 129-143, 154
problems, examination, 134-137
Debugging, 154-155. See also optional debugging.
assumptions, challenging, 127-128
commands, 147-149
definition, 127-129
projectors, 142-143
sample session, 143-146
tips, 113-125, 128-129
zen, 125-129
Declarations, 38, 153-154
errors. See Handlers.
Decrement operators, 163
#default, 341
Default URL, 376
Default values, assumption, 122
Delays, 301-307
deleteAll() command, 181
Descriptive names, usage, 114-115
Diacritical marks, 555, 558
Dialog boxes. See Custom dialog boxes; File dialog boxes.
Dice rolls, simulation, 245-246
Digital video, 301, 304, 307, 310, 562
.DIR extension, 373
DIR files, 20
Director, 53, 57, 290, 339, 351, 365, 442, 525, 553
entities, 343
error codes, 580-581
knowledge, 123
movie, 44
tools, usage, 114
Director 4 (D4), 75, 357, 566
Director 4.03, 273
Director 4.04, 271
Director 5 (D5), 69, 75, 79, 88, 100, 116, 139, 258, 269, 293, 321, 322, 346, 360, 377, 566
changes, 537-552
Director 5.01, 273
Director 6 (D6), 69, 75, 77, 79, 89, 91, 93, 100, 107, 109, 116, 139, 151, 222, 237, 251, 253-255, 258, 260, 269, 323, 338, 360, 364, 426, 441, 444-445, 543
changes, 537-552
Director 6.0, changes, 550-551
Director 6.0.1, 222, 237, 443, 551
changes, 550-551
Director 6.02, 273, 549
changes, 551
Director 6.5, 313, 336, 426
updates, 549
Director 7, 345
Director for Windows, 551
LINGO.INI, 566-567
DIRECTOR.INI, 427
files, 142, 424, 441, 445, 538, 561-565
DirectOS, 298
DirectOS Xtra, 271, 389
DirMMX Xtra, 425-426
Display precision, 239
displayInfo handler, 62
DLLName, 563
DLLs. See Dynamic Linked Libraries.
do command, 20, 111
Do statements, 20
dontPassEvent, 77, 108
Double-clicks, 261-263
double-precision float type, 161
Draggable sprites, creation, 269
Dynamic compilation, 151-152
Dynamic Linked Libraries (DLLs), comparison. See Xtras.
Dynamic script creation, 21
E
Easter eggs, 120
Editable fields, 291
creation, 286
Editable text fields, 273, 560
Elements, 190-197
addition/modification, list commands, 193-194
deletion, 194-197
usage. See First elements.
Ellipse, sprite movement, 238
Else If, usage failure, 46
EMPTY, 216, 307, 342
list, 348
string, 88
Encapsulation, 156-157. See Child objects.
end if, 45, 50
End if statements. See Excess End If statements; Missing End If statements.
end keyword, 40, 42
end repeat command, 50
endSprite events, 70, 256
endSprite handler, 99
enterFrame
events, 108
message, 346
Entities, 107. See also Director.
Entry field. See Password entry field.
Entry point, 9
Enumerated values, 397-423
Error checking, 120-122, 241. See Parameters.
Error checking, performing, 165
Error codes, 59, 190, 568-586. See also Director error codes; Macintosh; netError().
Error dialogs, 143, 144
Error messages, 62, 568-586. See also Compiler error messages; Runtime.
Error trapping, 154-155
Errors, 33. See also FileIO; MOA errors; Network errors.
interception, 89
Event handler, 95
Event handlers, 76, 99. See also Keyboard events; Miscellaneous events; Mouse events; Movie events; Primary event handlers;
Score; Simulated events; TimeOut events; Window events.
Event loop, 154
Event processing, 152
Event trapping, 154-155
script usage, 94-102
Events, 69-77, 550. See also Mouse events; MouseUp events.
execution, order, 76
sending reasons, 102
simulation, 109-110
system properties, comparison, 76
Excess End If statements, 48
Execution. See Conditional execution.
exit, 18
exit repeat, 52
exitFrame
events, 104, 108
handlers, 13, 72, 80, 99
message, 346
template, 74
Exiting handlers, 15-19
Exponential notation, 239
Exponentiation functions, 231, 235
Exponents, 235-237
expression, 444
Expressions, lists, 200-202
External applications, 388-390
External castLibs, 129
External files, 365-368, 393
F
Factorials, 240
Feedback, 125
Field sprite, 289
field, value assigning, 26
Fields, 217, 292
File dialog boxes, 375-376, 384
File Explorer, 359
File I/O, 155
File paths, 368-376
parsing, 374-375
specification, 372-375
File problems, 371-372
File Type, 370, 387
File, data writing, 387
fileExists() function, 61
FileIO, 376-388, 580
documentation, 353
errors, 581-583
methods, 581
FileIO DLL, 566
FileIO XObject, 385-386
FileIO Xtra, 59, 372, 390, 425, 566, 581
XObject differences, 385
FILEIO.DLL, 377, 385
Filename, 56, 376
filename, 59
Files. See External files.
FileXtra, 426
Find commands, 190
Finder, 359
First argument passed, special treatment, 61-63
First element, usage, 201
Fixed properties, 21
Fixed time, waiting, 303
Flash Asset, 537
Flash Asset Xtra, 427, 524, 543-548
getError(), 583-584
Flexibility, 115
Float
rounding, 242
truncation, 242-243
Floating-point calculations, 239
Floating-point comparisons, 243
Floating-point division, comparison. See Integer division.
Floating-point numbers, 170, 229, 242
floatPrecision, 242
Float-to-string conversion code, 235
FlushEvents Xtra, 272
FONTMAP.TXT, 529
for...next loops, 50
#format, 341
#format code, 342-344
Formats, 239-247
Frame events. See Score.
Frame scripts, 72, 75, 80, 91, 94, 95, 259, 306
difference. See Behaviors/sprite scripts/frame scripts.
keyboard events, 298
Frame-related events, 95, 96, 99, 100
Frames per second (time), 311-312
Function calls. See Nested function calls.
Function keys, 294-295, 531
Functions, 14-15. See Generalized functions; Generalizing functions.
Functions (parameter inclusion), generalizing, 60-61
G
Gambling, 227-247
Generalized functions, usage, 60
Generalized sprite handlers, 58
Generalizing functions, 58-60
Geometry, 237-239
Get commands, 190
GetBehaviorDescription method, 340
getBehaviorInitializers, 426
getBehaviorMemRef, 426
GetFinderInfo, 384-385
getPosition() method, 378
getProp(), 246
GetPropertyDescriptionList Method, 341-342
Global globals, 20
global keywords, 37
Global list, 114, 180, 330
Global property list, 172
Global variable, 381
Global variables, 27-29, 117, 124, 184, 210, 327, 331, 332
Global-level methods, 354
Globals, 27, 138, 566
usage, 36
go, 19
Graphical User Interface
components, 277
[Graphics], 562
Graphics, 150
GUI buttons, 148
GUIs, 152, 350
H
halt, 19
Handler, 37
Handler calls. See Nested handlers.
Handler definition, 6
Handler return multiple values, lists usage, 186-187
handlerName statement, 42
Handlers, 5-10, 29, 68, 233, 295, 566. See also Exiting handlers; Generalized sprite handlers; Primary event handlers.
declaration errors, 42
execution, 347. See also Behaviors.
leaving, 15-19
scope, 12-14, 89-90
usage, 114
Hardcoding, 56, 115
Height, 30
Hello World, 6-7
Highlighted text, 287-288
HighSpoolBufferMs, 564
HTML documentation, 539, 544
HTML page, 214, 584
HTML tags, 553, 559
HTML text, 584
Hypercard, 362
Hypertext functions, 215
I
If clauses, usage, 49
If statements
nesting, 47
usage errors, 46-49
if statements, 44-45. See also Nested if statements.
if...else if...end if statement, 46
if...end if construct, 45
if...then statements, 49, 134, 178
if...then...else if...end if statement, 47
If...Then...Else...End If decisions, 44-45
if...then...else...end if statement, 558
ilk(), 166, 168, 189, 202, 397
Implicit type conversion, 174
Improper comparison expressions, 46-47
in, 73
Increment operators, 163
Index variable, 51, 208
INetURL Xtra, 584
Infinite loops, 54-55
Inheritance, 156
Initialization. See One-time initialization.
Inks, 343
In-line code, 152
Insertion point, 287-288
Installed Xtras, detection, 356-357
Instance, 29, 30, 328
handle, 355
variable, 114
Instance-level methods, 355
usage, 355
Instances. See Scripts.
Instantiation, 36
Integer codes, 172, 397
Integer division, 229-231
floating-point division
comparison, 229
Integer operands, 230
Integer rounding, 241
Integer values, 317
Integers, 26, 170
truncation, 242
Internals, 150-157
Internet, 551
Interpretation, 151-152
Invalid list declarations, 183
Invisible sprites, 258
ISO 9660, 368
Items, 217
Iterative processes, 128
J
Java Export, 537
Xtra, 426
Java Xtra, 336
JavaScript, 553, 559
string, 554
K
Key case, detection, 281
Key codes, 294, 529-536, 558
Key combinations. See Special key combinations.
Key events
sending, 297
Key handlers, 296
Key press, determination, 279-280
Key trap, 296
Keyboard combinations, 283
Keyboard events, 99-100, 102, 275-278, 288, 296, 298. See also Frame scripts; Movie scripts; Standard keyboard events.
flushing, 297
idiosyncrasies, 298-299
simulation, 296
Keyboard focus, 286-288
Keyboard input, filtering, 288-295
Keyboard potential, 300
Keyboard properties, 278-288
Keyboard tasks, 295-300
Keyboard Xtras, 297-298
Keyboarding, comparison.
See Author-Time.
Keyboards. See Kiosks.
KeyCode tester, 299
Keycodes, 291-294
keyCodes, 280, 296, 531
keyDown
events, 87, 275, 276, 277, 281, 286, 288
handlers, 13, 288
messages, 276
property, 278
Keypad input. See Numeric keypad input.
keyPressed, 277
Keys
disabling, 297
editing, 291-293
polling, 297. See also Multiple simultaneous keys.
Keys. See Function keys; Modifier keys; Multiple keys; Quit keys; Repeat keys.
Keystrokes, 278
keyUp
events, 87, 275, 276
messages, 276
Keywords, 68, 440, 521. See also Undocumented keywords.
Kiosks, keyboards, 298
L
Language definition, 152
Launcher utility, 424-425
lib, 13
Linear lists, 180, 181, 187, 189, 196, 212
Lines, 217
Lingo
envisioning, 122
interception. See Built-in Lingo.
learning, 3-21
properties/constants. See Built-in Lingo properties/constants.
questions, 125
reality translation, 123-125
Lingo Dictionary, 439, 440
errors, 446
Lingo. See Behavior Lingo; Changed Lingo; Misdocumented Lingo; Obsolete Lingo; Parent Script Lingo; Script-related Lingo;
Underdocumented Lingo; Undocumented Lingo; Variable-related Lingo; XObject Lingo.
LINGO.INI, 427. See also Director for Windows.
files, 142, 361, 377, 424, 441, 565-567
lint utility, 151
List function names, 116
List operations, 188. See Property lists.
List performance, 192-193
List type
commands, 202-208
determination, 202-203
List types
conversion, 211-212
list() function, 180
List-like structures, 181
List-related functions, 121
Lists, 26, 153, 174, 246. See also Database; Expressions.; Linear lists; Pick lists; Property lists;
Pseudo-lists; Randomized lists; Single entity; Sorted lists; Text lists; Unsorted lists; Variable-length parameter lists.
access, 192
assigning, 184-186
basics, 180-189
cleaning up, 187
commands, 188-202, 206. See also Elements.
creation, 182-184, 192
declarations. See Invalid list declarations; Valid list declarations.
duplication, 184-186
elements, adding/changing/sorting, 190-193
evaluation, 164
information, 197-199
looping, 208
math performance, 199-200
passing, 184-186
usage. See Commands; Handler return multiple values.
utilities, 208-212
List-style structures, 180
literals, 161
Local variables, 27, 184
confusion, 22
Logarithms, 235-237
Logical operators, 173-176
Loop counter, control, 53-54
Loop execution, alteration, 52-53
Loops. See Infinite loops; Repeat loops.
LowSpoolBufferMs, 564
M
Mac OS limit, 386
MacErrors, 580, 582
Machine-readable format, 12
Machine-specific format, 152
Machine-specific instructions, 151
Macintosh, 81, 244, 263, 272, 297, 359, 445, 558
compatibility, 445
compilers, 364
creator code, 370, 554
drive name, 225
file, 372
file type, 370, 554
mouse buttons, 264
platforms, 151
right mouse button, 265
system error codes, 580
Macromedia, 70, 71, 79, 127, 129, 155, 172, 174, 253, 272, 321, 322, 324, 345, 378, 426, 427, 555, 558, 584
Macromedia Import Xtras (MIX), 550
Xtras, 351, 552
Macromedia Open Architecture (MOA)
errors, 586
Xtra Development Kit (XDK), 363-364
markers, 343
Massive table, 440-442
Math, 227-247
calculations, ensuring, 164
error, 566
functions, 231-239
operators, 199-200
max() function, 232, 234, 555
Maximum, 232
mDescribe, deciphering, 360-361
Me parameter, 92-93
Me variable, 332-333
Me, omitting, 334
Me, SpriteNum, 347
Media, waiting, 303-304
Member property, 539
member whichMember, 443
[Memory], 562
Memory, 150
access, 150
persistence, 35
Menu bars, 273, 299
Message processing order, 103-112
initialization/clean-up, 106-107
Message window, 6, 89, 137-139, 141, 143, 145, 155, 169, 247, 252, 276, 333, 356, 382, 427
Messages, 69-77. See also Custom messages.
interception, 89
manual passing, 107-109
manual stop, 107-109
simulation, 109-110
Messaging hierarchy, 77, 108
Metrowerks, 364
MIAW. See Movie-in-a-window.
min() function, 232, 234, 555
Minimum, 232
Miscellaneous events, 101-102
Misdocumented Lingo, 427-439
Missing End If statements, 48-49
MIX. See Macromedia Import Xtras.
MixMaxChannels, 564
MixMaxFidelity, 564
mMessageList, deciphering, 353-355
MMUI, 425
MOA. See Macromedia Open Architecture.
Modifier keys, 281-283
Modulo division, 229-231
Mouse button. See Macintosh; Right mouse button; Windows.
Mouse clicks, 270, 273
handlers, 268
Mouse events, 99-100, 102, 251-266. See also Custom mouse events; Standard mouse events.
flushing, 272
Mouse events (continued )
idiosyncrasies, 272-274
simulation, 271-272
Mouse events, checking, 255-258
Mouse handlers, 94, 270
Mouse position, 266
Mouse properties, 266-268
Mouse rollover handlers, 268
Mouse tasks, 268-274
Mouse traps, ??-269, 270-??
mouseDown, 7, 76, 251, 254, 258, 260, 268, 275
events, 77, 87, 260, 261, 265, 286
handler, 49, 69, 72, 88, 134, 256
mouseEnter, 79, 258, 275
events, 69
mouseLeave, 258
events, 69
mouseMember property, 257
Mouse-opaque shape sprites, 261
Mouse-opaque sprites, 253-254
Mouse-related events, 96, 251
mouseTrap, 270
mouseUp, 254, 258, 275, 521
events, 87, 260, 261, 299
handler, 48, 69, 71, 72, 256
handlers, 13, 77, 262
message, 111
mouseWithin, 258
mouseWithin events, 69, 254
move member command, 76
Movie event order, 97-99
Movie events, 96-99
Movie scripts, 12, 13, 62, 80, 85, 94, 96, 259, 306
cast members, 143
keyboard events, 298
Movie-in-a-window (MIAW), 21, 28, 96-99, 129, 142, 155, 272, 298, 305, 363, 391
MoviePlayer, 128
Movie-related events, 98
MUI Alert Dialogs, 391-393
MUI Alert() function, 139
MUI Alert() method, 140
MUI Dialog Xtra, 213, 285, 350, 375, 391-394, 425, 586
Mui Dialog.x.32, 391
MUI Dialogs. See Custom MUI Dialogs.
Multi-button mice, 263-266
Multidimensional arrays, 187-188
Multi-line code structures, 40-43
Multiline comments, 39
Multi-line structures, 42
errors, 42-43
Multimedia database, 188
Multimedia project, 126
Multimovie project, 96
Multiple Keys, 277-278
Multiple simultaneous keys, polling, 297
Multiple statements, 49
Multiple-Clause If...Then...Else If...Else...End If, 44
Multi-state button cast members, 425
Multi-state buttons, 425
N
Nested function calls, 153
Nested handlers, 38
calls, 8-9
Nested if statements, 175
Nested ifs, 46
netError(), 584-586
error codes, 585
NetLingo Xtra, 352-354
netPresent() function, 445
Network errors, 584-586
new handler, 347
new message, 347
new() function, 333, 347
new() handler, 30, 93
new() method, 328, 355
creation, 329
differences. See Behaviors/parent scripts.
newAvg handler, 57, 58, 60
next repeat, 52
Non-alphanumeric characters, 555
Non-list data types, 152
Nonlist variables. See Compound expressions.
Nonrepeating random numbers. See Range.
Nonstreaming audio, 150
Non-zero comparisons, 176
Non-zero expression, 43
NTSC video, 311
Null-termination, 154
Number systems, 239-247
conversion, 243
Numeric keypad, 531
input, 293-294
numToChar(), 280, 556
O
object, 444
Object-oriented programming (OOP), 29, 155, 326, 328-330, 349
C+ comparison, 155-157
usage, 334-335
Object-oriented scripts, 339
Object-oriented stopwatch, 330-332
Object-oriented style, 81
Objects
class creation, 335
death/life, 328
references. See Child object references.
Objects of mystery, 326-338
Obsolete commands, 445
Obsolete Lingo, 442
On AlertHook, 139-142
on eventName, 77
on exitFrame handler, 74
on keyDown, 7
handler, 155
on mouseDown handler, 136
on mouseUp, 7
handler, 74, 76, 154
on startUp handler, 424
One-line if statements, 45
One-time initialization, 36
Online casino, 245-247
OOP. See Object-oriented programming.
Operands, 55, 164, 229
Operations, 55. See also Asynchronous operations; Points; Property lists; Rects.
validity, 201, 202
Operators, 173-179. See also Arithmetic operators; Comparison operators; Decrement operators; Increment operators; Logical operators; String operators.
Option key, 283
Optional arguments, variation, 63-64
Optional debugging, 119
Option-Return, 11
OS, 554
OS-dependent system, 554
OS-level functions, 271, 298
OS-related functions, 376
OS-specific entity, 554
Override functions, 118
P
[Palette], 563
param(), 66
paramCount property, 65, 66
Parameter dialog, 344
Parameter types, checking, 164-166
Parameters, 27, 55-57, 152-153, 361
error checking, 66-68
inclusion. See Functions.
lists. See Variable-length parameter lists.
Parent class, 156
Parent script, 156
Parent Script Lingo, 345-349
Parent scripts, 12, 80, 85, 316, 322, 326, 328-330, 345-347
creation, 329
Parent-child scripting, errors, 334
Parentheses, 177, 178, 179
pass, 19, 77, 108, 290
Passing arguments, 56-57
Password entry field, simulation, 290-291
Performance, 151-152. See also List performance.
gauging, 315
PI, 443
Pick lists, 213
Platform property, 44
Platform-independent paths, 372
Platforms, 368, 555
play, 19
play done, 19
Playback platform, 44
playSound, 63, 64
Pointers, 150
Points, 181, 212
operations, 205-207
Pop-up list, 342
Pop-up menus, 128
power() function, 15
PowerLine Xtra, 544
PowerPoint Import, 537
Precedence
caveats, 178-179
Precedence. See Boolean precedence; Sprite reference precedence; String precedence.
Precision, 239-243
Preferences file, 386-388
prepareFrame events, 70, 108
prepareMovie events, 70
Primary event handlers, 87-88, 95
Printing, 155, 389-390
Procedural stopwatch, 326-327
Programmer, thinking, 126
Programmer-defined objects, 349
Programmer-defined property
variables, 31
Programmer-defined variables, 30
Programming, 70-72, 126. See also Object-oriented programming; Xtras.
mistakes, checking, 120-122
Projectors, 118, 139, 142, 151, 282, 285, 351, 375, 424, 525, 552, 562, 584-586
inclusion. See Xtras.
Prop commands, 189
Properties, 21-38. See also Built-in Lingo properties/constants; Child object properties;
Fixed Properties; Keyboard properties; Mouse properties; Read-only properties; Static properties.
setting, 21
stale value, usage, 23
usage errors, 22-23
values, assigning, 334
property, 331, 444
keywords, 37
Property lists, 181-184, 187, 193-197, 205, 211-212
functions, 337
Property names, 172
Property values, 22
assigning, 24
Property variable, 184
Property variable scripts, 29
Property variables, 29-31, 114, 331
#propertyName, 341
Pseudo-Lists, 213-214
Pseudo-Message window, 20
Pseudo-random integer, 244
puppetSound command, 63
puppetTransition command, 63
put command, 138, 146
Q
QD3D Xtra installer, 426
QT3 Asset Xtra, 538
QT3 Xtra, 538
QTVR, 538
QTVR 1.0 Xtra, 543
QTVR 2.0, 538, 543
QTVR Xtra installer, 426
QuickDraw, 270
QuickTime, 120
QuickTime 3, 563
functions, 542
Sprite Asset Xtra, 538-543
QuickTime 3 Xtra, 426
QuickTime-related Xtras, 426-427
quit, 19
Quit keys, manual trapping, 285-286
R
Random
amount, 244
numbers, 244-245. See Ranges.
random(), 244
function, 208
Randomized lists, 208-210
Range
checking, 121-122
nonrepeating random numbers, 210-211
numbers, 239-241
value checking/clipping, 233
#range, 341
Ranges, random numbers, 244
Rapid-fire clicks, eating, 262
Read/write text files, 425
Read-only properties, 446
Rects, 181, 212
operations, 203-??, 205, ??-207
Recursion, 9-10, 191
Recursive function, 9
Recursive sorting, 191
Redirection functions, 118
Repeat Keys, 277-278
Repeat Loops, 50-55
Repeat loops, 68, 77, 176, 303
repeat with loop, 51, 52
repeat with...down to command, 51
repeat with...in command, 52
repeat with...in loop, 52
repeat...with loop, 53
restart, 19
result, 18
Retrieved data, parsing, 388
RETURN, 17, 57, 127, 224
return command, 17
Return values, 15-19. See also Custom messages.
Reverse ordering, 191-192
Reverse sorting, 191-192
Rich text, 150
Right mouse button, 273
rightMouseDown, 251, 260, 265
rightMouseUp, 251, 260, 265
rollover(), 257, 260
Rollovers, 273
Root ancestor, 336
Roots, 235-237
Rounding, 239-243. See Float rounding; Integer rounding.
RSX, 552
RSX conflict, 298
RunPropertyDialog method, 344
Run-time
environment, 21
error, 132
Runtime, 90, 276, 568
behaviors, addition, 348-349
error messages, 568-579
ScriptText setting, 20-21
S
Score
frame events, 100-101
scripts, 12, 13, 35, 69, 79-80, 85, 91, 96
sprite Events, 100-101
window, scripts, 73
Scoring logic, 124
script "ParentScript", 444
Script cast member, 139
Script channel, 69, 74, 321
Script errors, 130-133
Script Instances, 332
Script instances, 61, 91-94, 109, 111
Script numbers, 348
Script types, 77-94
comparisons. See Behaviors.
Script window, 74, 131, 143, 145, 323
scripts, 73
Script windows, 133
Scripting, 325
Xtras, 350, 352-364
Scripting basics, 5
ScriptInstanceList, 347
Scriptless authoring, 77
Script-related Lingo, 90-91
Scripts, 5-10, 295, 321, 346. See also Behavior inspector; Cast scripts; Cast window;
Castmember scripts; Frame scripts; Movie scripts; Parent scripts; Score; Score window; Script window;
Sprite scripts.
array, 78
calling, 7-8
compiling, 86-87
creation, 74-76, 81-86. See Dynamic script creation.
entering/compiling, 10-12
location, 73-74
manipulation, 81-86
recompiling, 86
requirement, 77
templates, 74
usage, 114. See also Event trapping.
ScriptText, setting. See Runtime.
scriptType, 78
Search-and-replace routine, 226
selEnd, 287
selStart, 287
Separator(s), 224
Sequential list, 210
Serial port, 427
Serial XObject, 427
setFilterMask, 384
SetFinderInfo, 384-385
SetMouse Xtra, 271
Shareware utility, 580
Shift key, 282
Shockwave, 28, 51, 111, 118, 142-143, 272, 299, 317, 445, 543, 550, 551, 552, 584
6.0.1, 557
data, 151
error handling, 584-585
movies, 214
plug-ins, 347, 386, 551
Short integer type, 161
Shortcut, 371
showXlib, 351
showXlib command, 356
showXlib function, 523
shutDown, 19
Simple behaviors, creation, 322-324
Simulated events, 110-112
Single entity, lists, 200
Single-Clause If...Then...End If, 44
Skeletal structure, 38-43
someItem, 444
someVariable, 444
Sort order, 190, 555
Sorted lists, elements addition, 193
Sorting, 190-193. See also Reverse sorting.
[Sound], 563
Sound card settings, 563-565
Sound channel, 122
Sound files, 117
soundEnabled property, 22
SoundLeveln, 564
SPACE, 443
Space-sensitivity, 558-560
Special entity, 61
Special key combinations, 283-285
SpoolBufferAlloc, 563
SpoolBufferCount, 564
Sprite
channel, 72, 322
click, determination, 256-257
events, 346. See also Score.
handlers, 339. See also Generalized sprite handlers.
movement. See Circle; Ellipse.
number, determination, 255-256
properties, 92, 93, 304, 397, 544, 549
reference precedence, 178-179
rollover, determination, 257
Sprite Asset Xtra, 120, 357, 522
presence determination, 523-524
See also QuickTime 3 Sprite Asset Xtra.
Sprite Behavior, 94, 95
Sprite Inspector, 80
scripts, 73
Sprite scripts, 78, 80, 92, 95, 252, 346
differences. See Behaviors/sprite scripts/frame scripts.
Sprite Toolbar, 80
sprite whichSprite, 444
SpriteNum. See Me.
Sprite-related events, 96, 99, 101, 339
Sprites, 78, 252. See also Cursor-opaque sprites; Invisible sprites; Mouse-opaque sprites.
creation. See Draggable sprites.
number, determination, 93
Stacking order, 93
Stale value
usage, 33
Stale value. See Properties.
Standalone numbers, 228
Standard keyboard events, 276-277
Standard mouse events, 258-261
startTimer, 302, 303
handler, 89
startUp handler, 361, 565
Static properties, 21
Status checking, 122
stepFrame message, 109
Stop watch timer object, 316-317
Stop() command, 28
stopEvent, 77, 108
Stopwatch. See Object-oriented stopwatch; Procedural stopwatch.
Storage class, 26
usage. See Variables.
Streaming, 551
String commands, 218-223
String comparisons, 174, 218, 233
String concatenation, 222-223
String containers, 217-218
String functions, 221-222
String literals, 217
String operations, 221
String operators, 178
String precedence, 178
String sizes, 221-222
String variables, 217
string() function, 337
Strings, 26, 154, 215-226, 312, 397
Structures
errors. See Multiline structure errors.
Structures. See Multiline code structures; Skeletal structure.
Stylistic conventions, 443-444
Sublists, 191, 387
Submit button, 289
Subroutine, 116
Sum, 233
Supplemental commands, 445
Supported compilers, 364
SWA, 307
SWA cast member, 122, 304
SWA cast member's, 583
SWA Streaming Xtra, 351
SWA Xtra getError(),
getErrorString(), 583
Symbol names, 197
Symbol number, determination, 523
Symbol presence, determination, 523
Symbol table, 521-525
entries' case, 522
entry numbers, 522
limiting, 524-525
limits, 524-525
size determination, 523
Symbols, 171-173, 217-218, 440
symbols, 161
Synchronization, 301
Syntax error, 12, 130, 132
System error messages, 139
System properties, 255, 276
comparison. See Events.
SYSTEM.INI file, 313
T
Table. See Massive table; Symbol table.
Templates. See Scripts
Temporary variables, 26
Test scores, 124
Testing shortcuts, 119
Text
searching/replacement, 226
Text editor, 565
Text entry
conversion, 164
Text fields. See Editable text fields.
Text files, 389. See also Read/write text files.
Text lists, 213
Text parsing, 224-225
Text string, 213
manipulation, 188
Text. See Highlighted text.
the, forgetting, 22
Third-party Xtras, 441
Three-Line If statement, 45
Time formats, 314-315
Time functions, 312-315
time property, 314
Time scales, 310
Time units, 307-312
conversion, 310-312
Time, parsing, 315
Time-based media, 301
timeOut events, 87, 99-100, 102, 304
timeOut events, trapping, 306
timeOut handler, 306, 307
TimeOuts, 304-307
handling, 306
testing, 306
Timer object, 331. See also Stop watch timer object.
Time-related Lingo, 307
Timers, 262, 301-307
Timing utilities, 315-317
Tokenized code, 87
Trace, 138-139
TraceLoad, 138-139
TraceLogFile, 138-139
Transition cast members, 307
Trapping. See Error trapping; Event trapping; Quit keys; TimeOut events.
Trial and error, 127
Trigger event, 324
Trigonometric functions, 231, 237
Trigonometry, 237-239
TroubleShooting resources, 115-116
TRUE, 176
trueOrFalse, 444
Truncation. See Float truncation; Integer truncation.
Two-Line If statements, 44
Type assignment, 163-164
Type checking, 153-154, 164-168. See also Data type checking.
Type conversion, 163-164
caveats, 168-170
Types. See Data types; Variable types.
Typographical conventions, 442-443
Typographical error, 521
U
UI Helper Xtra, 314, 348, 426, 442
UIHelper Xtra, 336
Uncomment buttons, 40
Underdocumented Lingo, 424-427
Underdocumented utilities, 424-427
Undocumented keywords, 445
Undocumented Lingo, 427-437
Undocumented variations, 427
Unit conversion, 243
UNIX, 554
Unnamed parameter, 65
Unsorted lists, elements addition, 193
URL-enhanced, 445
URLs, 554, 557, 559. See also Default URL.
user actions, 102
User configuration, checking, 120
User input, 298
acceptance/evaluation, 225
User input, checking, 121
User-defined symbols, 522
User-settable properties, 341
Utility handlers, 14
Utility routines, 113
V
Valid list declarations, 183-184
value, 444
Value initialization, checking, 165
Value statements, 20
value() function, 312
Values
type, determination, 164
usage. See Properties.
Values. See Boolean value; Enumerated values.
Vanilla list, 182
Variable name, 16
usage, 33
Variable names, 554
Variable types, 161-173
Variable, usage, 32
Variable-length parameter lists,
65-66, 214
Variable-related Lingo, 36-37
Variables, 15, 21-38, 152-153, 186. See also Compound expressions; Global variables; Local variables; Property variables; Temporary variables.
allocation/scope, 37-38
confusion, 22. See also Local variables.
data type, 152, 163
misconceptions, 25-26
storage class usage, 32
types, 26-36
variables, 161
Variables, usage, 23-26, 114
errors, 31-35
Variables, value, 134
assigning, 24, 31-33
VBScript, 553
verifyParams(), 66, 67
Version, 23
version() method, 354
videoMember, 444
Voice-overs, 117
VOID, 16, 28, 30, 37, 56, 61, 62, 63, 135, 153, 237, 443, 550
Void values, 387
W
waitFlag, 64
Waits, 303
Watcher windows, problem examination, 134-137
whichMember, 444
Width, 30
Window events, 96-99
window whichWindow, 444
Windows, 263, 359, 424
compatibility, 445
compilers, 364
drive letter, 225
platforms, 151, 244
Registry, 388
right mouse button, 264-265
system palette, 563
systems, 235
Windows-specific key combinations, 284
Words, 216
Work-arounds, 272, 273
Wrapper functions, 116
X
XCMDs
comparison. See Xtras.
usage, 362
XDK. See Xtra Development Kit.
XFCNs
usage, 362
XFCNs, comparison. See Xtras.
XLibs, 362
XObject Lingo, 359-360
XObjects, 350-364, 425-427, 441
comparison. See Xtras.
differences. See FileIO Xtra.
usage, 361-362
Xtra Development Kit (XDK). See Macromedia Open Architecture.
Xtra reference, 353, 354
Xtra-Level methods, 354
Xtras, 120, 129, 155, 188, 314, 315, 350-352, 425-427. See also Custom Cursor Xtra; FileIO Xtras; Flash Asset Xtra;
Keyboard Xtras; MUI Dialog Xtra; QTVR 1.0 Xtra; QuickTime; Scripting.
detection. See Installed Xtras.
DLLs, comparison, 357-358
folder, 377
programming, 355-357
projector inclusion, 351-352
writing, 363
XCMDs, comparison, 357-358
XFCNs, comparison, 357-358
XObjects, comparison, 357-358
Y
Y2K formats, 313-314
Z
Zero, division, 229
Zero, implicit comparison, 176
Zero-element property list, 181
Zeus Tech Note, 568
zLaunch, 388
zOpen/zPrint, 388
zScript, 388