0

Assign An Event Handler to the Zone?

(BrightAuthor V4.6.0.14 on Windows 7 Enterprise.)

 

I have a multi-zone interactive application. Zone CMDs contains icons; each generates an event. There are two other zones dependent upon which CMD icon was last touched. (Zone SELECT and Zone CONTENT)

1. User touches icon A. This has a Send Zone Message attached to the touch event handler (the message = "IA").

2. Right now, it seems I have to define a Zone Message Event handler checking for IA for each asset that might be displayed in SELECT and CONTENT.

 

What I would like to be able to do is define a handler on the zone itself, rather than upon each asset that might be active in the zone. Is this possible? All the popular search engines have availed me nought.

TIA, Larry Price

 

 

3 comments

  • 0
    Avatar
    ^UD\_$

    You can connect multiple assets in  a single zone, with touch events, without having to send zone messages.

     

  • 0
    Avatar
    Larry Price

    The question is more related to an event occurring in a different zone. Base navigation is from ICON zone. Icon A is touched (IA in the first example). IA goes to SELECT with default options for Icon A. CONTENT is loaded with default image based upon receipt of the IA event in that zone.

    In the example, the user can select one of four sub options from SELECT. Each choice loads new content in CONTENT.

     

    If the user then touches Icon B in ICON zone, generating event IB, then each of the content alternatives for IA needs to be able to respond to IB. IOW: loading the default content for Icon B.

    I want to be able to set a handler on the zone to respond to events from other zones regardless of the specific asset currently active in the zone, rather than set an handle for the external event on each asset individually.

  • 0
    Avatar
    ^UD\_$

    I think that what you are looking for, is the Image Play File state.

    The zone message sent, would be used as a Key in the image play file state.

    Image Play file helps organizing, what seems unmanageable at first.

Please sign in to leave a comment.