[COLOR=#000000][FONT=verdana]i make MC in Array [a,b,c,d,e] and MC rotate on the same external point using Matrix…[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]This my code : [/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]import flash.geom.Matrix;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]import fl.motion.*;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]var p: Point=new Point();[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]var rotate:Boolean;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]var objArray:Array=new Array(a,b,c,d,e);[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]var objMatrixArr:Array=new Array();[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]var rot:int=0;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]stage.addEventListener(MouseEvent.MOUSE_DOWN, clic);[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]function clic(e:Event){[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]rot=0;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]objMatrixArr=new Array();[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]for(var i:int=0 ; i < objArray.length; ++i){[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]objMatrixArr.push(objArray*.transform.matrix);[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]}[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]p=new Point(greenPoint.x,greenPoint.y);[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]rotate=true;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]}[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]stage.addEventListener(Event.ENTER_FRAME, update);[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]function update(e:Event){[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]if(rotate){[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]rot++;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]for(var i:int= 0; i < objArray.length; ++i){[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]var matrixRotation:Matrix;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]matrixRotation = objMatrixArr*.clone();[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]MatrixTransformer.rotateAroundExternalPoint(matrix Rotation, p.x, p.y, rot);[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]objArray*.transform.matrix = matrixRotation;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]}[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]}[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]}[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]stage.addEventListener(MouseEvent.MOUSE_UP, unclic);[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]function unclic(e:Event){[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]rotate=false;[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]}[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]//I have Mc car in stage and if car crash with array,Array Stop or movie stop[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]Tanks[/FONT][/COLOR]