Is there a flag on a display object that can reveal if it is being culled?
I'm having an issue where display objects that had their alpha adjusted while off screen are not being displayed when they move onscreen. This did not occur until I upgraded to the public release with graphics 2.0 last week.
I'm trying to create an isolated case to submit as a bug but have not been able to create an isolated case. Of course, this means that it may not be caused by off screen culling, it might just be a coincidence that the affected tiles are always off screen when the error occurs.
What I have is a large tile map made of square display objects that are .png images. It looks like a tile floor. The map is bigger than the screen can display so you can slide it around with your finger to see the parts that begin off screen. When the map is first created all of the tiles appear as expected. However, there are events where all the tiles go to alpha 0 and then back to visible. If the floor tile is off screen when this happens, it is doesn't come back. In exploring the problem, I used a touch listener to confirm that the tile is still there and its alpha is set to 1 and that isVisible is set to true, but it still doesn't appear on the screen. I'm trying to figure out why.
I created a test app that just creates a floor that you can move around and a button to cycle the alpha of the tiles. I'm not getting the same results with the test app so whatever the problem is, it is more edge case than simply cycling the alpha of the display object while it is off screen. Thus my original question, how can I tell if it is being culled?
Also, I've seen some code pasted into posts that retains its formating, how do I do that?