PDA

View Full Version : getting the dimensions of an mc after content is loaded in



greggreg
August 21st, 2007, 03:34 PM
hello,

im having a little trouble getting the dimensions of a movie clip after i attach a bunch of children movie clips to it. it only returns the dimensions of the clip when it was created at runtime and not after the content is loaded in. any help would be awesome.

thanks.

butcherBaker
August 22nd, 2007, 12:07 PM
I believe you need to register for the movieClips addedToStage Event or the added Event.
see the lang ref for MovieClip, then click the "show Inherited Events" link.