1689 posts Envato Elite Author
  • Affiliate Level 2
  • Author Level 8
  • Collector Level 1
  • Top Monthly Author
+8 more
Tean
says


while(container.numChildren == 1) container.removeChildAt(0);

Didn’t work. It works great if I bring those thumbnails inside the same movieclip (background_mc) but outside just doesn’t seem to trigger it.

Thanks guys Tim

You mean?

while(container.numChildren) container.removeChildAt(0);

332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

You mean?

while(container.numChildren) container.removeChildAt(0);

Yeah…. sorry pasted the wrong thing. I’ve tried

while(container.numChildren > 0) container.removeChildAt(0);
while(container.numChildren) container.removeChildAt(0);
Why would I be able to hit the trace statement but the rest won’t trigger?

Thanks

1689 posts Envato Elite Author
  • Affiliate Level 2
  • Author Level 8
  • Collector Level 1
  • Top Monthly Author
+8 more
Tean
says

If you mean why your swf doesnt load, add the event listeners to the loader to see whats happening.

332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

gotcha! Thanks I will do that :)

by
by
by
by
by
by