PDA

View Full Version : Convert Stage to MovieClip


afeliciano
12-17-2008, 07:15 PM
I am using flash cs4 and AS3. Is there a way to convert everything on the stage into one MovieClip?

Sorry if this is a dumb questions but I've been looking for an answer on the forum with no luck.

thanks!

afeliciano
12-17-2008, 08:31 PM
just do:

var canvas_mc = new MovieClip();
canvas_mc.addChild(stage);
canvas_mc.width = 800; //your stage width
canvas_mc.height = 600; //your stage height

//canvas_mc is the name I chose for the new movieclip but any will do