Es realmente difícil. Primero que nada ese objeto debería ser representado en el plano matematico para luego operar sobre sus vertices para así crear el efecto de 3d.
Te paso el código de una figurar 3d random que gira :
Código :
MovieClip.prototype.rotateXY = function(s, xo, a, yo, zo) {
this.a = a;
this.speed = s;
this.camara = 250;
this.radio = 100;
this.xo = xo;
this.yo = yo;
this.zo = zo;
this.onEnterFrame = function() {
this._x = this.xo+this.radio*Math.cos(this.a);
this._y = this.yo+this.radio*Math.sin(this.a);
this.z = this.z0+this.radio*Math.sin(this.a);
this.pers = this.camara/(this.z+this.camara);
this._x *= this.pers;
this._y *= this.pers;
this.a += this.speed;
};
this.onMouseUp = function() {
this.onEnterFrame = function() {
this._x = this.xo+this.radio*Math.cos(this.a);
this._y = this.yo+this.radio*Math.sin(this.a);
this.z = this.z0+this.radio*Math.sin(this.a);
this.pers = this.camara/(this.z+this.camara);
this._x *= this.pers;
this._y *= this.pers;
this.a += this.speed;
};
};
this.onMouseDown = function() {
this.onEnterFrame = null;
};
};
makeFace = function (mc1, mc2, mc3, mc4, col) {
this.beginFill(col, 10);
this.moveTo(mc1._x, mc1._y);
this.lineTo(mc2._x, mc2._y);
this.lineTo(mc3._x, mc3._y);
this.lineTo(mc4._x, mc4._y);
this.lineTo(mc1._x, mc1._y);
this.endFill();
};
ang = random(180);
for (var i = 1; i<5; i++) {
node = this.attachMovie("node", "ball"+i, i*10);
node.rotateXY(0.1, 150, ang += 20, 150, 150);
node._alpha = 0;
}
ang = random(360)+180;
for (var i = 5; i<9; i++) {
node = this.attachMovie("node", "ball"+i, i*10);
this["ball"+i].rotateXY(0.1, 150, ang += 20, 300, 150);
node._alpha = 0;
}
delete ang;
onEnterFrame = function () {
this.clear();
makeFace(ball1, ball2, ball3, ball4, 0x66666);
makeFace(ball1, ball5, ball8, ball4, 0x99999);
makeFace(ball2, ball6, ball7, ball3, 0);
makeFace(ball4, ball3, ball7, ball8, 0x333333);
makeFace(ball1, ball5, ball6, ball2, 0x222222);
makeFace(ball2, ball1, ball4, ball3, 0x444444);
};
Esto usa un linkage desde Flash con un clip que serán tus vertices. Dale exportación a AS bajo el nombre de "node"
La otra manera sería ya desde programas 3d puros y exportarlo como SWF o JPG al Flash
Salu2, Hernán . -