has anyone ever tried to get the list of all the movieclips (even the nested ones) that are on Stage at a specified stopped (and current) frame in Flash 8, AS 2?
I did the following:
for(i in _root){ if(typeof(_root[i])=='movieclip'){ trace(_root[i]);} }
But this is good for a first level search: that is, if inside the movieclips you have other movieclips, you can’t reach them. Furthermore, inside a movieclip there can be more then one movieclip.
Has anyone ever tried to do what I’m trying to do?
Bye!
Are you just trying to trace? If so there’s a nice little undocumented utility called ObjectDumper that can do this.
This is probably the best explanation of it out there
So what you can do is this:
There may be a lot of extras (functions, variables, etc) in there, so there are additional parameters you can use: