• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Inserting Markers

You'll start by inserting markers for the frames that will display the artworks in the gallery. Just as in Lesson 5, you will use markers to indicate where certain sections of the movie are located so Director can navigate to those sections when users click a menu option. After you insert the markers, you'll set up navigation scripts for the menu options you created on the main menu so users will be able to see the artwork.

Open Start.dir in the Start folder within the Lesson13 folder and save it as Gallery2.dir in your Projects folder.

This is the prebuilt file that contains the introduction and the main menu. If you completed the last lesson, you can use the movie you created there instead. Save it as Gallery2.dir in your Projects folder.

Choose File > Preferences > Sprite to open the Sprite Preferences dialog box. Type 13 for the span duration and click OK.

Just as you did in the previous lesson, you set up Director to add sprites to the score with a 13-frame duration. This duration is long enough so you can see the cast member names in the score, making the score easier for you to work with.

Click frame 15 in the marker channel and type Main as the marker name. Then press Enter (Windows) or Return (Macintosh).

Figure .

This marker indicates the location of the main menu frame, as shown here. You'll need a marker for the main menu so you can write a Lingo script that returns users to the main menu from the destination screens. After you insert the markers, you'll build these screens. The destination screens will contain the artwork and other content relevant to the presentation.

Figure .

Insert markers in frames 30, 45, and 60 and name them Priv, Line, and Res, respectively.

These markers indicate the locations of the destination screens that will display the different works of art in the gallery. The names you've given them are just long enough to identify the artwork they refer to.

Figure .

There's no magic formula for selecting the frames where markers appear. Placing these markers 15 frames apart makes sense because this spacing puts some empty frames between each of the markers so they can be viewed as distinct pieces of the presentation. Since you changed the default sprite length to 13 frames—and no more than 13 frames will be needed to display the sprites that make up the destination screens—there will still be nice spaces between each destination screen in the presentation.

Insert a marker in frame 75 and name it Bio. Then insert another marker in frame 90 and name it ?.

Now you have all the markers you'll need to display the art, biographical information about the artist, and navigation tips for this presentation.

Figure .

The markers Priv, Line, and Res refer to the titles of the artwork that will be included on the destination screens associated with these markers. The Bio marker refers to a screen of biographical information you'll create, and the ? marker refers to a screen of user tips for moving around in the presentation. When you look over the sprites that make up the menu options on the main menu screen, it is easy to determine which menu options will be used to move users to the markers. Good planning like this helps you (and others who may be working on your project) easily understand how the project works.

Don't worry about creating the Exit marker—you'll do that in the next lesson.

Save your work.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint