Chapter 16
434
To drag an item to the Object inspector, do one of the following:
•
Select a sprite in the Score window and drag it to the Object inspector.
•
Select a cast member in the Cast window and drag it to the Object inspector.
•
Select a the name of an object in the Script, Message, or Text window and drag it to the
Object inspector.
To enter an object manually in the Object inspector:
1
Double-click in the first empty cell in the Object column of the Object inspector.
2
Type the name of the object into the cell. Use the same name you would use to refer to the
object in Lingo.
3
Press Enter (Windows) or Return (Macintosh). If the object has subproperties, a plus sign (+)
will appear to the left of it.
4
Click the plus sign. The properties of the object appear below it. Properties with sub-properties
appear with a plus sign to their left. Click each plus sign to display the sub-properties.
The following are some of the objects you can enter into the Object inspector:
•
Sprites:
sprite(3)
•
Cast members:
member(2)
•
Global variables:
gMyList
•
Child objects:
gMyChild
•
Flash objects:
gMyFlashObject
(For more information about using Flash objects in Director,
see “Using Flash objects in Lingo” on page 304.)
•
Lingo expressions:
sprite(7).blend
You can also navigate the contents of the Object inspector with the arrow keys on your keyboard.
To move up or down in the list of items:
•
Use the Up and Down arrow keys.
To view an item’s sub-properties:
•
Select the item and press the Right arrow key.
To hide an item’s sub-properties:
•
Select the item and press the Left arrow key.
System properties, such as
the milliseconds
,
the mouseLoc
, and
the ticks
are only updated
in the Object inspector when the Autopoll option is turned on. Using Autopoll increases the
processor workload, which can slow your movie’s performance when you add more than a few
system properties to the Object inspector.
To turn on Autopoll:
1
Right-click (Windows) or Control-click (Macintosh) in the Object inspector. The Object
inspector context menu appears.
2
Select Autopoll from the context menu. When Autopoll is on, a check mark appears next to
the Autopoll item in the context menu.
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...