next up previous contents
Next: movieToWindow Up: Methods Previous: targetSetPropertyNum   Contents


getMovieInfo

Description

Retrieves information of a movie, include frame size, frame rate, version, etc.


Syntax

FlashPlayer.getMovieInfo(movie)


Parameters

movie
String. Full path name of the movie to retrieve information


Returns

An object contains the following properties
frameSize
Object. Represents the frame size of the movie, contains the xMin, xMax, yMin and yMax properties.
rate
Integer. Represents the frame rate of the movie.
size
Integer. Represents the size of the movie.
frameCount
Integer. Represents the frame count of the movie.
version
Integer. Represents the version of the movie.
Returns null if the method fails.




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.