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)
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) {
> 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
__
3 matches
Mail list logo