Reuse interpolation values on other keyframes
In Microsoft Expression Blend, you can convert an existing key spline interpolation value to a resource, and then reuse the interpolation value by applying it to other keyframes. This is helpful if you create an interpolation effect that would be difficult to reproduce by hand on other keyframes.
If you modify a keyframe that uses a key spline resource, or add a keyframe to a timeline that has keyframes that use a key spline resource, the keyframes will be converted to local values. If this happens, a notification appears at the top of the artboard.
To convert an interpolation value to a resource
Create a key spline interpolation value on a keyframe using the "To change keyframe interpolation by using the key spline editor" procedure under Change animation interpolation between keyframes.
In the Objects and Timeline panel, select the keyframe that uses the interpolation value that you want to reuse.
In the Properties panel, under Easing, click Advanced options next to the KeySpline property, and then select Convert to New Resource from the pop-up menu.
The Create KeySpline Resource dialog box appears.
Under Name (Key), type a name for your key spline resource. This is the name by which other objects can reference the resource, thereby applying the resource to themselves.
Under Define in, select the option where you want the key spline brush resource to be defined:
To make the resource available to any document in your application, select Application.
To make the resource available only to the current document, select This document (Window: Window).
To make the resource available only to the object from which you created the resource or its child objects, select This document (object).
To define the resource in a resource dictionary file that you can reuse in other projects, select an existing Resource dictionary, or click the New button to create a new resource dictionary.
Click OK to close the dialog box and create the resource. A color-coded frame appears around the KeySpline graph in the Properties panel indicating that the property is now using a resource.
To apply an interpolation resource to another keyframe
With a storyboard open in Expression Blend, select a keyframe in the Objects and Timeline panel.
In the Properties panel, under Easing, click Advanced options next to the KeySpline property, click Local Resource, and then select the name of the key spline resource that you want to apply to this keyframe.
To modify an interpolation resource
In the Resources panel, expand the node where you defined your key spline resource. For example, if you defined the resource in This document (Window: Window), expand the Window node in the Resources panel.
Locate the key spline resource by name, and then click the modify resource button . A key spline editor appears.
After you finish modifying the key spline resource, click anywhere outside the key spline editor to close the editor. All of the keyframes that use this key spline resource are automatically updated to use the new key spline value.
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.