可以控制flash立方体的旋转:
cubeCenter = new point3d(0,0,0);
geom.addCube(cubeCenter, 80, 0xFFF2CC);
geom.addCube(cubeCenter, 20, 0xFFF2CC);
geom.addSolidCube(cubeCenter, 20, 0xC2B898, 30);
point1 = new point3d(-80,80,80);
point2 = new point3d(-80,80,-80);
point3 = new point3d(80,80,-80);
point4 = new point3d(80,80,80);
point5 = new point3d(-80,-80,80);
point6 = new point3d(-80,-80,-80);
point7 = new point3d(80,-80,-80);
point0 = new point3d(80,-80,80);
// attach a movie from the library and then add it
for (g=0; g[1b]源文件下载:
[img]/Files/BeyondPic/2007-5/25/rar.gif[/img]
[/1b]
[url=http://www2.flash8.net/UploadTeach/200705/20070524112921308.rar][1b]旋转的立方体mx3d.rar[/1b][/url]
本文转自:http://www.5uflash.com/flashjiaocheng/Flashaschengxu/1233.html
cubeCenter = new point3d(0,0,0);
geom.addCube(cubeCenter, 80, 0xFFF2CC);
geom.addCube(cubeCenter, 20, 0xFFF2CC);
geom.addSolidCube(cubeCenter, 20, 0xC2B898, 30);
point1 = new point3d(-80,80,80);
point2 = new point3d(-80,80,-80);
point3 = new point3d(80,80,-80);
point4 = new point3d(80,80,80);
point5 = new point3d(-80,-80,80);
point6 = new point3d(-80,-80,-80);
point7 = new point3d(80,-80,-80);
point0 = new point3d(80,-80,80);
// attach a movie from the library and then add it
for (g=0; g[1b]源文件下载:
[img]/Files/BeyondPic/2007-5/25/rar.gif[/img]
[/1b]
[url=http://www2.flash8.net/UploadTeach/200705/20070524112921308.rar][1b]旋转的立方体mx3d.rar[/1b][/url]
本文转自:http://www.5uflash.com/flashjiaocheng/Flashaschengxu/1233.html