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 long term effects of low dose accutane.

This entry was posted in ActionScript and tagged , , , , , , , , . Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Why ask?