Text hidhing behind sprite sheet

Hi,

I have a screen where I am showing some text at the bottom. There are few objects moving in the screen including sprite sheet. When an object overlaps my text, text:toFront() brings text over the object but when I do the same when a sprite sheet overlaps the text, my text is still behind the sprite. I am not able to find the solution anywhere. Please help. [import]uid: 71670 topic_id: 16851 reply_id: 316851[/import]

create groups
one main group to hold everything
one for images
one for text
then insert images/sprites into image group
insert text into text group
insert images group into main group
and then text group into main group
this way the text group will always be on top and no need for toFront [import]uid: 7911 topic_id: 16851 reply_id: 63105[/import]

Thanks for the reply jstrahan. Will try it!!! [import]uid: 71670 topic_id: 16851 reply_id: 63108[/import]