PDA

View Full Version : Find out number of frames in movieClip



nick.g
January 21st, 2004, 04:18 PM
Hey,

Is it possible to find out the number of frames of a movieClip using actionscript? Like in the main timeline have some actions in frame 1 to find out the number of frames in "content" movieClip?

-Nick

senocular
January 21st, 2004, 04:36 PM
numberOfFrames = content._totalframes;


;)

nick.g
January 21st, 2004, 04:45 PM
Ah, very simple lol ... Now I feel dumb :geek: .

-Nick