- Moving into Director
- Let the Programming Begin
- Arriving Safely at Your Destination
- Making It Come to Life
- Don't Forget the Little Details
- Summary
Don't Forget the Little Details
You need to perform these same tasks for the cursor as well. If you notice, the cursor always remains as the arrow, even when you rollover and click (mouseDown) on the text. Go back and select (single click to highlight) the mouseEnter Event in the Behavior Inspector window. Add a new Action for that event. In addition to changing the cast member, we also want to change the cursor's appearance.
Select Cursor, Change Cursor from the Action popup.
Use the pull-down menu to select from one of Director's default cursor choices in the Specify Cursor window.
I tend to use the "finger" cursor once I am over something clickable, which tells users that they are over something interactive.
Then, highlight the mouseLeave Event.
Same principles as before...you want the cursor to change back to normal once you move the mouse away from the text area.
Select Cursor, Change Cursor from the Action popup.
Use the pull-down menu to select the arrow cursor.
The visual elements of your interactive programming are complete. The text and cursor will react to the user's interaction, but will never navigate him to any other place within your application. Now, you want to add the actual movement or "jump" functionality.
In the Event Popup, select mouseUp.
Select Navigation, GoTo Marker.
Use the pull-down menu in the Specify Marker window to select from either one of the relative markers (next, previous, etc.) or from one of the markers you created earlier. For this example, select Section1. It's that simple.