Question
converting rotatation value from flash into svg
hi,
Advance thankx for helping me
Here i am taking the rotation value from flash and transfering into svg by the forumlae and getting varibale fdeg then also it is not coming in the position seen in flash window which is not in svg file.
And also check the formulae is right to convert the value from angle to degree.
/////////////////////////
dx = globalArray ._x;
dy = globalArray._y;
var dist:Number = Math.sqrt(dx*dx+dy*dy);
var diam:Number = 2*arotate1;
fdeg = 57.3*diam/dist;
///////////////////////////////////////////
if We scale the object it comes in right scaled and right x and y position. only if We rotate the rotated object is in correct angle but not in correct x,y axis position
Regards,
R.Denesh Kumar
+919952018252
rdene2000@yahoo.com
Advance thankx for helping me
Here i am taking the rotation value from flash and transfering into svg by the forumlae and getting varibale fdeg then also it is not coming in the position seen in flash window which is not in svg file.
And also check the formulae is right to convert the value from angle to degree.
/////////////////////////
dx = globalArray ._x;
dy = globalArray._y;
var dist:Number = Math.sqrt(dx*dx+dy*dy);
var diam:Number = 2*arotate1;
fdeg = 57.3*diam/dist;
///////////////////////////////////////////
if We scale the object it comes in right scaled and right x and y position. only if We rotate the rotated object is in correct angle but not in correct x,y axis position
Regards,
R.Denesh Kumar
+919952018252
rdene2000@yahoo.com