Frames 

 No Frames

Previous Element
Movie

Next Element
MovieClip


MovieAttributes

It may be required to have the attributes of a movie specified by an external data source, specific to an RVML document. In this case, the attributes cannot be specified on the Movie element as any RVML-specified data sources will not yet be defined. This element allows the full definition of the attributes of a movie AFTER the declaration of data sources, allowing attributes to contain expressions that refer to data sources declared with the DataSource elements. Any existing Movie attribute will be overridden by values specified under this element.

Attributes

version The lowest SWF version of the movie. SWF players produced by Macromedia increased in capability and complexity from early versions and most platforms now support a version of 5 or greater. The highest possible version should be selected as many file and ActionScript features are only available in later versions. This documentation will detail the lowest supported version for each RVML element however for ActionScript information please consult Macromedia information. If the ActionScript defined in the file is not applicable for the specified version an error will be created during processing of the script.
Values1
2
3
4
5
6
7
Default Value5
width The width of the movie in pixels. Will be overridden if a sizeShape attribute is specified. The largest legal width is greater than 53,000,000 however the maximum supported by any player is more likely to be around 3000.
From Value0
To Value53,687,091
Default Value800
height The height of the movie in pixels. Will be overridden if a sizeShape attribute is specified.The largest legal width is greater than 53,000,000 however the maximum supported by any player is more likely to be around 3000.
TypeInteger
From Value0
To Value53,687,091
Default Value600
rate The frame rate of the movie. This is the number of frames per second that the movie displays. Typical values are between 12 and 30 for movies which contain any animated element. All movie clips inherit their frame rate from this value. While it can go as high as 255 normal frame rates vary from 1 to 30. High frame rates may result in the player dropping frames to keep up.
TypeInteger
From Value1
To Value255
Default Value12
backgroundColor The color specified as an RGB tuple or a color name. The first number of the tuple represents the red intensity, the second green, and the third blue. A minimum value of 0 for each color results in black and a max value of 255 for each color results in white. Alternatively the color can be specified by name using the color names defined in the SVG specification.
Value Template rgb(Color, Color, Color)
From Value0
To Value255
Value Range Any SVG color name supported in the SVG1.1 specification.
compressed Only applicable when the movie version is 6 or greater. Setting this attribute results in the SWF file being automatically compressed on output with the potential to significantly reduce the size of the resulting SWF movie.
Valuesno
yes
Default Valueno
enableDebug Only applicable when the movie version is 6 or greater. Setting this attribute' allows the SWF movie to be debugged using an active copy of Macromedia Flash MX. Due to the nature of the facility provided by Macromedia ActionScript debugging cannot be carried out as a debug symbol file cannot be created. However the state of all defined elements can be queries at run-time as can the output of ActionScript trace statements. An empty password is provided for the debugger.
Valuesno
yes
Default Valueno
fileAccess In Flash 8, the security model of the Flash player changed so that an SWF could either freely access the internet or local resources but not both (without additional configuration). This attribute defines the security access for the resulting SWF for Version 8 movies and above.
Values
local
Access is permitted to local resources
network
Access is permitted to network resources
Default Valuelocal

Child Elements

None

Parent Elements

Movie

Examples

None


Previous Element
Movie

Next Element
MovieClip