Flash Player 4.
my_mc._totalframes
my_mc
Property (read-only); returns the total number of frames in the movie clip instance specified in the MovieClip parameter.
MovieClip