摘要 |
<p>Smooth transitions between rich media (e.g., animations of visual elements of a UI) are provided when a "second" animation is started on a property of a visual element for which a "first" animation is already running. When the second animation is started, an animation system causes a current value of the property that resulted from the running of the "first" animation (i.e., snapshot) to be stored, terminates or releases the first animation, and then causes the second animation to run using the snapshot as the "from" value of the property. Because the second animation "begins" at exactly the point at which the first animation ended, the transition between the first and second animation is smooth. An animation storage object can be created for a property for which an animation has been triggered to store base values and snapshots of the property while being animated.</p> |