Tag Archives: DisplayObject

Search Displaylist for Bitmap (or any type of DisplayObject)

var bitmap:Bitmap; for (var i:int = 0; i < this.numChildren; i++) { bitmap = this.getChildAt(i) as Bitmap; if (bitmap) break; } Go to Source

Posted in ActionScript | Also tagged , , , , , , , | Leave a comment