Kinesis SoftwareKineticFusion

[Show Table of Contents]

8 Working With RVML Documents

[Hide Table of Contents]

8.1 RVML User Guide

Rich Vector Markup Language (RVML) is an XML vocabulary designed for the complete XML representation of SWF movies. The RVML vocabulary provides complete coverage of all current features of SWF movies ensuring that all existing SWF movies can be represented in RVML. All graphical and media elements in an RVML document are defined as symbols and can be manipulated on a stage over a user-defined timeline.

Additional concepts from the SVG world have also been integrated into RVML. There are several key differences between the SVG and SWF models however several SVG features which can be rendered in an SWF player have been included in version 3.0 of the RVML vocabulary. All RVML elements are defined in UpperCamelCase and attributes in lowerCamelCase (e.g. <LineStyle dashArray="1 2"/>). This ensure that users porting SVG fragments to RVML are made aware of differences between the two vocabularies.

Each RVML document must reside in the RVML namespace. The identifier for this namespace is:

There is no actual document at this location - this is simply used as an globally unique identifier for the namespace.

Each RVML document begins with a Movie element. This element defines the global attributes of the movie, including the dimensions and animation rate. A movie can have a number of child elements, each representing a logical document section:

Symbols are used to represent the following media elements:

RVML uses a pixel-based coordinate system with the origin located at the top left corner of the movie stage and the positive y-axis below the origin. Each symbol uses a local coordinate system which is mapped to the coordinate system of the parent symbol or movie on symbol placement.