Dear Flashers,
I'm not desperate in need of a solution, but enlightenment is needed.
I'm colorizing a grayscale image with a Sprite and a Blend.OVERLAY.
Which works fine. Since the Sprite is on top and the Bitmap below - i'm using addChildAt().
The problem arises when i want to check if there's Sprite/Bitmap at a level already. The numChildren returns the amount of children in the object but i cannot find a way to do the same on different levels?
Can I check the names of the objects added or is there a sweeter solution?
Thanks in advance,
Tor
getChildAt(index:int)
Returns the child display object instance that exists at the specified index.
getChildIndex(child
Returns the index position of a child DisplayObject instance.
Not sure if you just need to check if there is a DisplayObject at that level or if you need the name or index.