Thank you for the files It looks like it worked, But now it is placing the text in the wrong place on the screen.
//--- move the selection to the middle of the screen to rotate it -----
myManager.moveSelection((myManager.width / 2),(myManager.height / 2));
// --rotate selection --
myManager.rotateSelection(RotateRadians);
//--- move item back to 0,0 to move it to the correct location of x100,y100) ---
myManager.moveSelection(-(myManager.width / 2),-(myManager.height / 2));
//--- move item to final point of x100,y100) ---
myManager.moveSelection(xmMainlist.@x,xmMainlist.@y);
trying to moe it to x=100, y=100 it ends up at
x="113.7" y="100.85000000000001"
or
--- if I just move it to 100,100 and rotate it ( this was working before the update - just causing errors. ) ----
x="213.70000000000002" y="153.85000000000002"
Placing SWF files seem to work fine with the following:
(would be great to get them exact but can live with it)
(placed at x="248.8" y="298.35" it will report being placed at x="248.9" y="298.45" a .1 difference)
myManager.selectItem(e.currentTarget,false);
var iRotation:Number = xmMainlist.@rotation;
var RotateRadians:Number = iRotation * Math.PI / 180;
myManager.scaleSelection(xmMainlist.@scaleX,xmMainlist.@scaleY);
myManager.moveSelection(xmMainlist.@x,xmMainlist.@y);
myManager.rotateSelection(RotateRadians);
myManager.deselectAll();
Thanks,
Ted