BitmapData draw

Hi,

In my scenario, I have a background image upon which some A,B,C components are placed where B,C components are placed within the A component bounds. Now I want to draw A component including B,C components without including background Image. I think we can do this taking consideration of either component size (or) component itself.

If taken size as consideration and created a BitmapData width/height matching to A component width/height and use BitmapData.draw, It would include the background image also for that certain bounds.

If taken component as consideration and drawn A component only using BitmapData draw method, then I would miss B,C components.

Please suggest on how this can be achievable.