> app open overnight and used it for several days in a row, they could > theoretically open enough windows to hit the 65,535 depth limit and > unexpected things could happen. So I went ahead and wrote the extra 10 > lines > of code to keep the depths consecutive, and circumvented the problem > before > it ever occurred. >
10 extra lines, but 3 times the processor. For the record, there has never been a depth limit of 65,535. The range of depths that you can't removeMovieClip() in is between 0 - 1048575 ... 1048575 being the magic number that Macromedia uses on the _root for their highest depth. But really you can still swapDepths() up to 2130690045. I think Flash itself will start having problems long before your application does. For the record. Tyler _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

