3、e3D; import org.papervision3d.vieport org.papervision3d.objects.primitives.Plane; import org.papervision3d.materials.MovieMaterial; import org.papervision3d.events.InteractiveScene3DEvent; public class papervision extends Sprite { // this is the movieclip y_ca
4、rd:card = neera:Camera3D = neera3D(); public var renderer:BasicRenderEngine = nee to use Movie Materials... ovieclip as a material public var front_material:MovieMaterial; public var back_material:MovieMaterial; public var front_plane:Plane; public var bac
5、k_plane:Plane; public var rotation_speed=0; public var steps=0; public function papervision() { // going to frame 2 my_card.gotoAndStop(2); // assigning the 2nd frame to front_material material front_material=ney_card); // going to frame 1... my_
6、card.gotoAndStop(1); // and assign the 1st frame as material of the back_material material back_material=ney_card); front_plane=neaterial,200,250,4,5); back_plane=neaterial,200,250,4,5); addChild(vieera.focus=100; camera.zoom=10; back_plane.rotati
8、activeScene3DEvent.OBJECT_PRESS,on_plane_clicked); addEventListener(Event.ENTER_FRAME, render); } public function render(e:Event) { if (rotation_speed) { steps++;