Change Polygon Line Colour Action

image\Action_Attribute_Line_Colour.jpg

The Change Polygon Line Colour action allows you to change the Line colour of a Polygon. This action is particularly useful when using Polygons as buttons because you can change the colour of the button as the user moves the mouse over it, as a visual clue.

Note:
This action is often used with a Mouse Over and Mouse Exit trigger.

Setting up the Change Polygon Line Colour action:

  1. Add the Change Polygon Line Colour action to your trigger, as described in adding actions. The Change Polygon Line Colour tab will automatically appear when you add the action.

  2. Click on the name of the Vector object in the Vector object list that you want to use with this action. Only one Vector object can be selected from the list.

Note:
When a Vector object has been selected, the Object’s Polygon list beneath the Vector object list will display all of the Polygons that make up the Vector Object.

  1. Tick the box beside the name of each Polygon in the Object's Polygon list that you want to change colour.

Note:
Each Polygon ticked will change to the SAME colour. If you want to change some of the polygons to other colours, add another Change Polygon Fill Colour action to the trigger and tick the Polygons that you want to share the same colour.

If there is only one Polygon listed, you still must tick it and the vector in the Vector object list in order for the line colour to change.

  1. Use the New Colour option to select the colour that the selected Polygons will change to when the action is triggered. Click on the down arrow to the right of the New Colour panel to open the drop down colour well and select your colour.

  2. Use the Variable option if you want the value of a variable to change the colour of the Polygon’s line. If you have not yet created the variable, then click on the New button to open the New Variable dialog.

Note:
The variable must contain one of the following:

  1. Click on the Apply button to save your changes.

Note:
You can also change the Fill colour of a Polygon using the Change Polygon Fill Colour action.

Related Topics:

Introducing the Attribute Actions

the Change Polygon Fill Colour action

Choosing an Action