I have a MC with movie clips and shapes. Is each child a way to loop but only for movie clips? I'm getting an empty object due to size. For the
(var i: int = 0; i & lt; this.numChildren; i ++) movie clips in the form of {var obj: MovieClip = getChildAt (i); } Here I thought "Movie clips only" detects movie clips ...
{if (getchildAt (i) is a movie clip) {var obj : MovieClip = getChildAt (i) as MovieClip; ...}}
No comments:
Post a Comment