1677 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 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);

320 posts
  • Has been part of the Envato Community for over 7 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

1677 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
Tean says

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

320 posts
  • Has been part of the Envato Community for over 7 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