Export flash to PNG/JPG, possible to merge movieclips?

Hi, I am new to AS 2.0.
Sorry for writting such long paragraph and some of you guys would go like “search button!!!”, but time is running short for me as I am working on a Flash course work and I need help badly.
.
.
.
.

  • I am working on a project that allows user to create their own cake design.

  • User can drag and drop cake ingredients onto the cake base.
    **The images of ingredients and the cake base are all converted into movieclips

  • When user clicks the “save” button, it will link to the PHP part and it should save up as a png/jpg with all the ingredients, and the cake base…
    ***BUT I could only get the cake base (WITHOUT the ingredients)when I received the snapshot…

The following is just a small part of the code I have set at the moment (I didnt include the function/function prototype, but this shouldnt matter), is there any way to merge all the ingredients and the cake base into one single movieclip (OR any method to save up all movieclips into the bitmap) so that the image file will show both ingredients and the cake base???

var snapshot:BitmapData = new BitmapData(600, 600);
.
.
.
snapshot.draw(board); //board - name of movielip of the cake base
//save the cake base
[COLOR=Red]//HOW TO MERGE ALL CAKE INGREDIENTS AND THE CAKE BASE???[/COLOR]
.
.
.
BitmapExporter.saveBitmap(snapshot, “snapshot.jpg”, “fastscan”, 0, 70);
.
.
.
Any kind of tips/help would be appreciated:smirk: