# Check stage for bitmaps

**URL:** <https://forum.kirupa.com/t/check-stage-for-bitmaps/287462>\
**Category:** Uncategorized\
**Created:** [May 1, 2009, 2:47pm UTC](https://forum.kirupa.com/t/check-stage-for-bitmaps/287462 "2009-05-01T14:47:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deerowbear](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@deerowbear](https://forum.kirupa.com/u/deerowbear)\
**Post date:** [May 1, 2009, 2:47pm UTC](https://forum.kirupa.com/t/check-stage-for-bitmaps/287462/1 "2009-05-01T14:47:58Z")

</div>

In actions script 2.0 you can write code like this:

```auto
 
for (Prop in _root)
{
     trace(Prop)
     if(Prop.substr(0,3) == "btn")
     {
           _root[Prop]._visible = 0;
     }
}

```

This will allow for you to check what is on the stage, but if you put a static image on the stage the for Prop in code does not detect the image on the stage. Is there a way to detect images on the stage?

Thanks daniel
