You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just downloaded away3d via tortoisesvn and get this error when I try to run the test program I have for falsh pro cs6
C:\phpdev\www\public\away3d_src\Away3D\src\away3d\core\managers\Stage3DManager.as,
Line 29 1046: Type was not found or was not a compile-time constant: Stage3DManagerSingletonEnforcer.
import away3d.cameras.Camera3D;
import away3d.containers.Scene3D;
import away3d.containers.View3D;
import away3d.core.math.Number3D;
import away3d.core.render.Renderer;
import away3d.primitives.WireCube;
//scene is the root container of all 3d objects
var scene:Scene3D;
//view is a Sprite container used for storing camera, scene, session,
//renderer and clip references, and resolving mouse events
var view:View3D;
//Camera is ... well, a camera :-)
var camera:Camera3D;
var cube:WireCube;
initAway();
init();
/*** FUNCTION DEFINITIONS ****/
//initialize this movie
function init():void {
//create a WireCube object
cube = new WireCube();
//add the cube to the scene
scene.addChild(cube);
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
//initialize away3d core objects
function initAway():void {
var centerPoint:Number3D = new Number3D(0,0,0);
scene = new Scene3D();
camera = new Camera3D();
camera.x = 100;
camera.y = 200;
camera.z = -1000;
camera.lookAt(centerPoint);
view = new View3D();
view.x = view.y = 200;
view.scene = scene;
view.camera = camera;
view.renderer = Renderer.BASIC;
//add the view to the DisplayList
addChild(view);
}
//handle enterFrame event
function onEnterFrame(e:Event):void {
//render away3d view
view.render();
}
I have just downloaded away3d via tortoisesvn and get this error when I try to run the test program I have for falsh pro cs6
C:\phpdev\www\public\away3d_src\Away3D\src\away3d\core\managers\Stage3DManager.as,
Line 29 1046: Type was not found or was not a compile-time constant: Stage3DManagerSingletonEnforcer.
[email protected]
any advice how to sort this appreciated thanks
The text was updated successfully, but these errors were encountered: