title: Too many sprites causing bottom sprites not to draw
body: <p>(I'm using Flashdevelop to write this in AS3)</p>
  
  <p>I'm making a Pikmin-inspired 2D platformer, so naturally, I have very large amounts of Sprites on screen at once. It seems like what is happening, is that if there are any more than 23 sprites on top of each other, anything below them don't get drawn.</p>
  
  <p><a href="http://i.imgur.com/PmxZMpP.png" rel="nofollow">Here's a picture</a> of the problem. What you're seeing: The grey ball is a stack of 22 sprites. The blue background is a sprite. The shepherd-looking guy is a sprite. The left is a total of 23 sprites, and right at the shepherd is a total of 24. As you can see, the blue in that overlap (which is the bottom layer) isn't drawing, despite the alpha of all the pixels above it being zero.</p>
  
  <p>Is this just a thing with Flash that I have to put up with, or am I doing something wrong?</p>
  
  <p>Edit: <a href="http://pastebin.com/kM3m0Ts0" rel="nofollow">Here's my code</a> Sorry I don't have enough rep to post it as multiple links. Knock yourself out.</p>
  
  <p>Second Edit: I nixed all of my code, and just added a lot of plain Sprites, and the problem still happened at exactly 23 Sprites. My suspicions are confirmed in thinking that Flash can't handle that many overlapping Sprites. I'm going to play around with it and try to find a workaround.</p>