DefineShape tag = new DefineShape(Tag.stagDefineShape3);
tag.bounds = new Rect(250 * 20, 250 * 20);
tag.shapeWithStyle = sws;
//Create a SWF Movie shell
Movie m = getMovie(1);
Frame frame1 = (Frame)m.frames.get(0);
Matrix mt = new Matrix(0, 0);
frame1.controlTags.add(new PlaceObject(mt, tag, 1, null));
//Compile SWF