Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 469

Advertising
background image

22

Animate graphic objects

22-11

• •

The following example shows the effects of Shaded and Gradient fill styles.

Color animation is available for all drawing objects except images and panels.

K

EEP

O

RIGINAL

C

OLOR

Using the Original Fill Style allows for more variations on animating an object. Instead of
a specific color for the object’s non-blink state, the object’s original color can be used.

If Original is used as a Fill Style on any state, the color palette boxes will not allow a color
change. By selecting the Blink option, a different color can be used for both the Line and
the Fill color or individually.

C

ONTROL

C

OLOR

S

HADING

Using the Shaded Fill Style along with the Blink option allows control of the shading
aspect of a display object by changing combinations of Line and Fill and different colors.

For more information about setting up color animation, see Help.

Example 1: Create a text object that blinks

This example describes how to create a text object that constantly blinks between two
colors. Since the blinking is not based on changes in tag values, the expression is simply a
constant value that matches the value for the selected threshold.

For details about creating text, see page 20-13.

1. Select the text object.

2. Open the Animation dialog box, and then click the Color tab.

3. In the Expression box, type 0.

Zero is the default value for threshold A.

4. In the list box, click threshold A. (Leave the value in the Value box as 0.)

5. For the line color, click Blink. (If desired, click Blink for the fill color too.)

6. For each color, click the color box, and then click the color to use.

Advertising