Interface MovieMetadata

Metadata about a loaded SWF file.

interface MovieMetadata {
    width: number;
    height: number;
    frameRate: number;
    numFrames: number;
    swfVersion: number;
    backgroundColor: null | string;
    isActionScript3: boolean;
    uncompressedLength: number;
}

Properties

width: number

The width of the movie in pixels.

height: number

The height of the movie in pixels.

frameRate: number

The frame rate of the movie in frames per second.

numFrames: number

The number of frames on the root timeline of the movie.

swfVersion: number

The SWF version of the movie.

backgroundColor: null | string

The background color of the movie as a hex string, such as "#FFFFFF". May be null if the background color is unavailable.

isActionScript3: boolean

Whether this movie is an ActionScript 3.0 movie.

uncompressedLength: number

Uncompressed length in bytes.