I have created an ActionScript project to draw some graphics. The
bounding box of graphic and the graphic data is read from an XML on
the server. The SWF size is the default 500x375. I use the graphic
bounding box and stageHeight/stageWidth to calculate
DisplayObject.transfor.matrix to best fit the graphic on the stage.
When the width and height of the OBJECT in HTML is 500x375 (original
size), the graphic is perfectly fit. When anything else is used for
OBJECT's width and height, the graphic is not fit to the stage.

Any idea?

TIA


Reply via email to