Kinesis SoftwareKineticFusion

[Show Table of Contents]

8 Working With RVML Documents

[Hide Table of Contents]

8.1.4 Displaying Symbols and Animations

There are two mechanisms for displaying and animating symbols on the stage: explicitly manipulating symbols on a timeline, and using ActionScript. This section looks at the mechanism available for displaying and animating symbols on the timeline.

As discussed previously, a timeline is used to display and animate symbols. Each time consists of one or more frames and the Flash Player will display each frame at the rate defined for the overall movie (assuming that there are no ActionScript commands that alter the behaviour of the play head). Each frame defines the changes to be made to the stage from the previous frame - this is not the previous frame that the play head was on but the frame directly before it in the timeline.

A single display operation is used to add or alter an object on the stage. Each operation can have an associated 2D affine transform associated with it that allows the location, scale and rotation of the symbol to be defined and a color transform that allows the overall color of the symbol to be adjusted. The following RVML operations are available for displaying and modifying symbols on the stage:

There is an addition shortcut operation called Replace that is deprecated within RVML as the usage is restricted to certain situations. This operation enabled certain symbols to replace other symbols on the stage without performing Remove/Place operations. However the restrictions made it difficult to modify movies using the Replace operation and so KineticFusion no longer outputs this action when decompiling but instead replaces it with a Remove/Place pair of operations.