1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 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
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • 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

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 more
Tean says

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

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

gotcha! Thanks I will do that :)

by
by
by
by
by
by