Setting up an event response

To react to special circumstances, you first set up the Xtra extension that will send the event and set up the interaction. Then you set up the event.

To set up the Xtra extension and the interaction:

  1. Set up the Xtra extension that will send the event.

    See Using a sprite Xtra extension and Scripting Xtra extensions.

  2. Drag an interaction icon to the flowline and title it.

    See Adding text or graphics to an interaction icon and Setting interaction icon properties.

  3. Drag an icon to the right of the interaction icon.

    An icon attached to an interaction icon is called a result icon. The result icon determines what happens when an Xtra extension sends the event that you want to respond to. It's a good practice to use a map icon as the result icon, because that makes it easy to make changes. You can use any icon as the result icon; you must, however, place interaction, framework, sound, digital movie, and decision icons inside a map icon.

  4. Select Event in the dialog box and click OK.

    The Response Type dialog box appears automatically whenever you place a result icon to the immediate right of the interaction icon. If you place a result icon to the immediate right of another result icon, Authorware doesn't display the dialog box, because it assumes that you want to use the same symbol you last selected. If the Response Type dialog box doesn't appear automatically and you want to make changes to the response options, double-click the response type symbol to display it.

To set up the event:

  1. Double-click the event response type symbol and click the Event tab in the dialog box.
  2. Select an event sender in the Sender list.

    The Sender list displays objects that send events. If the object is created by a sprite Xtra extension, it appears in the Sender list as Icon Icon title. Icon title is the title of the sprite icon.

    If the object is created by a scripting Xtra extension, it appears in the Sender list as Xtra Icon title. Icon title is the title of the icon where the Xtra object is created.

  3. Click a sender to highlight it and display the events that it sends.
  4. Double-click a sender to select it. An x appears next to senders that are selected in the Sender list.
  5. Alt-double-click in the Sender list to select all displayed senders.
  6. Double-click a selected sender to deselect it. Deselecting an event sender automatically deselects all the events that it passes.
  7. Alt-double-click in the Sender list to deselect all selected senders.
  8. Select an event in the Event Name list.

    The Event Name list displays events that are sent by sprite and script Xtra objects. You can select any or all of the events that a sender passes.

  9. Click an event to highlight it and display its description.
  10. Double-click an event to select it. An x appears next to events that you've selected.
  11. Alt-double-click in the Event Name list to select all displayed events.
  12. Double-click a selected event to deselect it.
  13. Alt-double-click in the Event Name list to deselect all selected events.
  14. Selecting an event automatically selects the event sender that passes it. Deselecting an event sender automatically deselects all the events that it passes.

  15. Set the other options in the response properties dialog box.

    See Event Response Properties.

  16. Click OK.

See also


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/authorware/7/using_aw_en/06_cr112.htm