Tutorial 9

This lesson focuses the Image Map option in the Media Object.

Instructions

To better understand this lesson we suggested reviewing the Conditional Object at this time.
Building this application
This tutorial will not guide you to building the application from scratch. Rather open the tutorial application Lesson_9 and notice the following new items:
Open Tutorial_9 on the RAD Canvas as shown above.
Open the Media object "image_map" and select the Image Map option "Edit"
Select the options menu and note that "single output port" is selected.

Single Output Port:
(The variable called "target" is set to the name of the area clicked on)

One Port Per Region (In addition to setting the variable named "target" the dialog branches through one of the ports. For every region in the image map, the image map creates an output port.)

Double Click on the left Red Port of the Conditional Object.
Notice that the expression for branching depends on the value of the variable named "target" The variable "countries" is set in the Listbuilder. If the two variables match then The user clicked on the right country.

$target == $countries

Double Click on the right Red Port of the Conditional Object. The expression is always true but will only evaluated if the leftmost expression is false. Thus, the dialog will branch to the right if $target is not equal to $countries

Again see Conditional Object for details on how it works

Let's review the flow of the dialog