Interactivity

FIG. 87 Color Selection - green

The selected color is also the color used in the E Green.svg arrow button. This can be selected by using the Eyedropper tool to touch the button and add its color to the Color Selection wheel.

3.Also under Highlight, note the Opacity and Width fields. The Opacity field controls the opacity of the border compared to its background: a higher number means a more opaque border. The Width field controls the total width of the border: the higher the number, the wider the border around the button. In this example, leave the Opacity alone, but lower the Width to 2.

4.Next, under Move, note the Horizontal offset, Vertical offset, and Zoom factor fields. These can control the displacement of the buttons by one pixel when clicked. In this example, the currently selected Zoom factor will expand the button by one pixel along its entire range.

5.When finished, click the Save button at the top of the Edit Mode Workspace to save your changes.

Controlling the Menu

Controlling the menu requires the use of shared variables. These shared variables may be used to exchange information between SVG files, and may also be used to exchange information through an entire network.

For more information on shared variables, please refer to Shared Variables on page 85.

For this exercise, three variables are used for menu control:

Menu selected: This variable affects the file changed when an item is selected.

Menu activated: This variable affects the file changed when an item is activated.

Change menu: This variable controls the state of the menu.

These variables may be found in the Edit Mode Workspace, under Instant Messaging Variable (FIG. 88).

70

Inspired XPress - Programming Guide

Page 78
Image 78
AMX IS-SPX-1000/1300 manual Controlling the Menu, Color Selection green