1.2 RVML Representation
KineticFusion represents the contents of an SWF using an XML vocabulary designed by Kinesis Software called Rich Vector Markup Language. RVML was designed to fully represent the structure and content of SWF movies, while providing additional features and capabilities to simplify the task of authoring new content.
The simplest RVML document looks like this:
When compiled with KineticFusion, this will produce an empty SWF movie with no content.
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. RVML uses a number of different sections for the definition of resources, symbols, and animation/timeline objects to represent an SWF movie. The skeleton document above can be expanded to illustrate these section elements:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <Movie version='8' width='400' height='200' xmlns='http://www.kineticfusion.org/RVML/3.0'> <DataSources> <!-- Defines external datasources and default data values for dynamic data used to parameterize the SWF movie --> </DataSources> <ActionScriptSettings> <!-- List of movie-specific ActionScript configuration settings. Allows a single RVML document to override the external system defaults. --> </ActionScriptSettings> <Repository repositoryType='File' repositoryBase='repository' repositoryName='Resources'> <!-- Defines external resources used in the SWF. Resources include Images, Sounds, Video and Font resources. There are several types of Repository so resources can be retrieved from arbitrary locations --> </Repository> <ImportSymbols> <!-- Defines symbols that should be imported, at runtime, into the SWF from an external SWF library --> </ImportSymbols> <Definitions> <!-- Defines symbols for use within a movie. Possible symbol types defined in this section include Shape, MovieClip, Button, MorphShape, EditField, Text, ImageShape, FontDefinition --> </Definitions> <ExportSymbols> <!-- Defines symbols that are be exported at runtime. Exporting a symbol makes it available for reference in ActionScript or by external SWF --> </ExportSymbols> <Timeline> <!-- A timeline consists of one or more Frame elements. Each frame is visited at the rate defined by the main movie 'rate' attribute --> <Frame> <!-- All operations on the Timeline stage are represented using display operations such as Place, Alter and Remove --> </Frame> </Timeline> </Movie>
The skeleton RVML document above can be used as the basis for all RVML documents. There are additional elements not mentioned above that are detailed within the RVML reference documentation.
Copyright 2003-2005 Kinesis Software. All rights reserved.