I don't even know what you're asking.

You already said you have a bunch of layers that you want to save as a single image. Assuming that those layers have a common DisplayObjectContainer ancestor which contains nothing you don't want drawn into the final image, just draw that ancestor. If you don't have such a common display ancestor, then how ARE the layers set up?