1688 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Became a Top 20 Author of the Month
+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
  • Has been part of the Envato Community for over 8 years
  • Has collected 100+ items on Envato Market
  • Located in 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

1688 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Became a Top 20 Author of the Month
+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
  • Has been part of the Envato Community for over 8 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue
says

gotcha! Thanks I will do that :)

by
by
by
by
by
by