Dynamic movie width

how would I get the width of a movie that is being generated when the movie is loaded?