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.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...