Do display objects outside of stage bounds still get rendered by Flash?
If an object exists outside of Flash's stage boundaries, is on the Display List, and is visible,开发者_StackOverflow is it causing a performance hit from Flash rendering it? In other words, does Flash render what isn't seen?
This leads me to believe so: How do you make Flash not render an object on the Stage?
No, Flash renders at its final step only the stage. However it renders an object also in other circumstances (e.g. bitmapData.draw(displayObject)).
Of course those people from the question to refer to are right that the bounds of a DisplayObject have to be evaluated etc. In the end: if you want something not to be rendered, it should not be on the stage or set to visible = false
if it is temporary.
精彩评论