marilynn.fowler
06-23-2009, 09:01 AM
I have a slideshow. Once the next image is done loading I want to unload the old and fade in the new. I'm assuming my slideshow_mc first photo is loading at 1, the next at 2; however, the very first time there's only one photo. I wrote my code thus, but it did not work:
if (slideshow_mc.children > 1) {
slideshow_mc.removeChildAt(1);
}
It doesn't work. I even tried slideshow_mc.children.length, and I just got a different error message. How do I properly write it?
if (slideshow_mc.children > 1) {
slideshow_mc.removeChildAt(1);
}
It doesn't work. I even tried slideshow_mc.children.length, and I just got a different error message. How do I properly write it?