Array transform

Hi
i need help with my 3d project
http://www.mn001c7645.pwp.blueyonder.co.uk/glenz.html
as you can see one shap morphs into the other
i do this by moving each point on its own X,Y,Z individually

if ( pointsArray[5].y >= -10)
{
pointsArray[5].y-=speed2;
}

ect… for every point :frowning:

what im asking is would it be possible to use actionscript
to move all the points at once from one shape to the other in one go

//Shape 1 (x,y,z)
pointsArray = [
make3DPoint(0,0,-50), …point[0] shape1
make3DPoint(0,-20,0),
make3DPoint(-60,0,-20),
make3DPoint(0,20,0),
make3DPoint(0,0,90),
make3DPoint(60,0,-20),
make3DPoint(-30,-20,-50),
make3DPoint(30,-20,-50),
make3DPoint(30,-20,50),
make3DPoint(-30,-20,50),
make3DPoint(-30,20,-50),
make3DPoint(30,20,-50),
make3DPoint(30,20,50),
make3DPoint(-30,20,50)
];

//Shape 2 (x,y,z)
pointsArray = [
make3DPoint(0,0,-90),…point[0] shape2
make3DPoint(0,-90,0),
make3DPoint(-90,0,0),
make3DPoint(0,90,0),
make3DPoint(0,0,90),
make3DPoint(90,0,0),
make3DPoint(-50,-50,-50),
make3DPoint(50,-50,-50),
make3DPoint(50,-50,50),
make3DPoint(-50,-50,50),
make3DPoint(-50,50,-50),
make3DPoint(50,50,-50),
make3DPoint(50,50,50),
make3DPoint(-50,50,50)
];

for example i want …point[0] in shape1 to ++ or – whichever it needs to get to the values in …point[0] in shape2
and so on for the rest of the points…