I tried the following script:

for (var i = 0; i < 3; i++) {
        mc = createEmptyMovieClip("mc" + i, i);
        mc.lineStyle(0, 0, 0);
        mc.beginFill(0xFF0000 >> (i * 8));
        mc.moveTo(-50, -15);
        mc.lineTo(50, -15);
        mc.lineTo(50, 15);
        mc.lineTo(-50, 15);
        mc.lineTo(-50, -15);
        mc.endFill();
        mc._x = 200;
        mc._y = i * 120 + 20;
}


lineStyle(0, 0x000000, 100);
for (var x = 0; x < Stage.width / 5; x++) {
        moveTo(x * 5, 0);
        lineTo(x * 5, Stage.height);
}
        
for (var y = 0; y < Stage.height / 5; y++) {
        moveTo(0, y * 5);
        lineTo(Stage.width, y * 5);
}
                
mc0._width = 300;

mc1._rotation = -30;
mc1._width = 300;

mc2._rotation = -30;
mc2._xscale = 300;

When the sizing is first and rotation follows that, then the result
seems to be exactly the same, but when rotation comes first I really
got a little difference (1-2 pixels) between _width and _xscale.
However it is not the same what you described (I mean the bounding
box), so in fact I couldn't reproduce your problem.

  Attila

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to