Re: [Flashcoders] Iterate over all movieclips in a timeline

2006-10-09 Thread Haikal Saadh
Ah, thanks, that's exactly what I needed. Current frame only is fine, as it's only going to do some initialisation at frame 1 anyway. Steven Sacks | BLITZ wrote: I feel a bit boneheaded asking this... is there any way of iterating over all movie clips in a timeline? for (var a in this)

Re: [Flashcoders] Iterate over all movieclips in a timeline

2006-10-09 Thread Johannes Nel
this will only do the current frame, you cannot do the entire timeline (well you can in jsfl :) ) On 10/9/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: > I feel a bit boneheaded asking this... is there any way of iterating > over all movie clips in a timeline? for (var a in this) {

RE: [Flashcoders] Iterate over all movieclips in a timeline

2006-10-09 Thread Steven Sacks | BLITZ
> I feel a bit boneheaded asking this... is there any way of iterating > over all movie clips in a timeline? for (var a in this) { if (this[a] instanceof MovieClip) { trace(this[a]._name); } } BLITZ | Steven Sacks - 310-551-0200 x209 __