Thursday, August 23, 2007
digging into root
Thursday, August 23, 2007
A trick many of us used at one time or another was to inspect timelines (mainly root) looking for certain movieclip instances, or vars, whatever. That worked well in AS2 but if you do the same in AS3, you'll only see variables and not movieclip objects.
You'll need to change things a little since now we have the DisplayObject:
You'll need to change things a little since now we have the DisplayObject:
for (var n:Number = 0; n<this.numChildren; n++)Sometimes its a little easy to get stuck thinking in AS2 terms.
{
trace(this.getChildrenAt[n]);
}
Comments:
There are currently 0 Comments:

