Navigation and User Interaction
383
4
Select the cast member you want, and click Add.
You see the cast member in the Cursor Frames preview area. The Frame X of Y field shows
where the cast member falls within an animated series of cursor frames.
5
Repeat steps 2 through 4 until you have added all the cast members for the cursor.
In the Cursor Frames area, you can use the < and > buttons to review the order of the cursor
frames. Click the Remove button to delete the currently selected frame from the cursor (this
deletes the cast member only from the cursor animation, not from the cast).
6
In the Interval field, specify the number of milliseconds that elapse between each frame of the
cursor animation.
This interval affects all frames of the cursor and cannot vary for different frames. The cursor
frame rate is independent of the frame rate set for the movie using the tempo channel or the
puppetTempo
Lingo command.
Note:
By inserting the same bitmap in multiple frames of the cursor, you can create the illusion of variable-rate
cursor animation.
7
In the Hotspot Position fields, specify the location of the mouse pointer’s active point.
Director uses this point to track the mouse pointer’s position on the screen. For example,
Director uses this point’s location when it returns values for the
mouseH()
and
mouseV()
functions. The hotspot also determines the point where a rollover occurs.
The first field specifies the horizontal (x) location, and the second field specifies the vertical (y)
location. The upper left pixel is location 0,0. In a 16 x 16 pixel cursor, the lower right pixel is
location 15,15. You can’t enter a point that is beyond the bounds of the cursor.
8
Click one of the Size options to specify the maximum size of the cursor.
If a Size option is dimmed, your computer does not allow you to create cursors of that size.
9
Select the Automask option if you want the white pixels of the cursor frames to be transparent.
Note:
The Automask option makes all white pixels transparent. If you want some white pixels to be opaque, you
can’t use white for those pixels, but you can achieve the same effect by using the lightest shade of gray available
in the system palette.
10
Click OK to close the Cursor Properties Editor.
After you create a cursor cast member, use Lingo to switch to the cursor in a movie, as shown
in the next section.
Содержание 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...