Using the Link behavior
The Link behavior allows you to link the parameter values of one object to another. Let's take a look at two examples for how the link behavior can be used to aid us in our workflow.
How to do it...
Under the exercise files of this chapter, open the
03_08
project by double-clicking on it.This project consists of three layers. The background map that is scaling up uses a Grow/Shrink behavior. The two compasses remain static in the foreground.
We want both compasses to rotate by the same values as the project plays. Select Compass 02 in the Layers tab and press the F1 key to go to the Properties tab.
Ctrl + click the word Rotation and navigate to Add Parameter Behavior | Link as shown in the following screenshot. Press the F7 key to show the HUD.
The Link behavior in the Layers tab is turned off. This is because it needs a source to link to. Click-and-drag Compass 01 and drop it into the Source Object well in the HUD. Once it's added, you will see a picture of the compass...