Nobody has ever tried to get a list of all the movie clips (nested people) on stage at a specified stop (And current) frame in Flash 8, AS2?
I did the following:
for (i _root) {if (typeof (_root [i]) == "movieclip") {trace (_root [i ]}}}
But it is good to search at the first level: That is, if you have other movie clips inside the movieclips, you can not reach them. In addition, a movie clip may be more inside the movie clip.
Am I ever attempting to do what I am trying to do?
Goodbye
Are you just trying to find out? If so, then object dumper is a good undocumented utility that can do this.
Then you can:
Import mx.data.binding.ObjectDumper; Trace (ObjectDumper.toString (_root));
There may be a lot of additional (functions, variables, etc.), so additional parameters that you can use are:
ObjectDumper.toString ( Obj, showFunctions, showUndefined, showXML structures, maxLineLength, Indent)
Comments
Post a Comment