Error 1046,1061

Software: Away3D 4.x

Tony Tran, Newbie
Posted: 18 November 2011 05:21 AM   Total Posts: 6

Hi all.

Please help me, i have a problem with away3d.i use flash builder 4.5 and already set up away3d 4.0, flex SDK 4.5.1, flashplayer_11_plugin_debug_32bit
And i debug this :
————————————————————
package
{
import away3d.containers.View3D;
import away3d.loaders.Loader3D;

import flash.display.Sprite;
import flash.events.Event;

[SWF(width=“500”, height=“500”)]
public class project01 extends Sprite
{
  private var _view:View3D;
  private var _loader:Loader3D;
 
  public function project01()
  {
  _view = new View3D();
  _view.backgroundColor = 0x000000;
  _view.antiAlias = 4;
  this.addChild(_view);
  this.addEventListener(Event.ENTER_FRAME,onEnterFrame);
  }
  private function onEnterFrame(ev:Event):void
  {
  _view.render();
  }
}
}
—————————————————————-
and 35 error:
—————————————————————
Description Resource Path Location Type
1046: Type was not found or was not a compile-time constant: Context3D. BackgroundImageRenderer.as /project01/away4/src/away3d/core/render line 106 Flex Problem
1046: Type was not found or was not a compile-time constant: Context3D. BackgroundImageRenderer.as /project01/away4/src/away3d/core/render line 117 Flex Problem
1046: Type was not found or was not a compile-time constant: Context3D. LightBase.as /project01/away4/src/away3d/lights line 193 Flex Problem
1046: Type was not found or was not a compile-time constant: Context3D. Stage3DProxy.as /project01/away4/src/away3d/core/managers line 173 Flex Problem
1046: Type was not found or was not a compile-time constant: Context3D. View3D.as /project01/away4/src/away3d/containers line 486 Flex Problem
1046: Type was not found or was not a compile-time constant: Program3D. Filter3DTaskBase.as /project01/away4/src/away3d/filters/tasks line 137 Flex Problem
1046: Type was not found or was not a compile-time constant: Program3D. Stage3DProxy.as /project01/away4/src/away3d/core/managers line 83 Flex Problem
1046: Type was not found or was not a compile-time constant: Stage3D. Stage3DProxy.as /project01/away4/src/away3d/core/managers line 53 Flex Problem
1046: Type was not found or was not a compile-time constant: Texture. Filter3DBase.as /project01/away4/src/away3d/filters line 37 Flex Problem
1046: Type was not found or was not a compile-time constant: Texture. Filter3DBase.as /project01/away4/src/away3d/filters line 68 Flex Problem
1046: Type was not found or was not a compile-time constant: Texture. Filter3DRenderer.as /project01/away4/src/away3d/core/render line 50 Flex Problem
1046: Type was not found or was not a compile-time constant: Texture. Filter3DRenderer.as /project01/away4/src/away3d/core/render line 101 Flex Problem
1046: Type was not found or was not a compile-time constant: Texture. Filter3DTaskBase.as /project01/away4/src/away3d/filters/tasks line 53 Flex Problem
1046: Type was not found or was not a compile-time constant: Texture. Filter3DTaskBase.as /project01/away4/src/away3d/filters/tasks line 58 Flex Problem
1046: Type was not found or was not a compile-time constant: Texture. Filter3DTaskBase.as /project01/away4/src/away3d/filters/tasks line 89 Flex Problem
1046: Type was not found or was not a compile-time constant: Texture. Filter3DTaskBase.as /project01/away4/src/away3d/filters/tasks line 143 Flex Problem
1046: Type was not found or was not a compile-time constant: TextureBase. RendererBase.as /project01/away4/src/away3d/core/render line 212 Flex Problem
1046: Type was not found or was not a compile-time constant: TextureBase. RendererBase.as /project01/away4/src/away3d/core/render line 234 Flex Problem
1046: Type was not found or was not a compile-time constant: TextureBase. Stage3DProxy.as /project01/away4/src/away3d/core/managers line 74 Flex Problem
1046: Type was not found or was not a compile-time constant: TextureBase. Stage3DProxy.as /project01/away4/src/away3d/core/managers line 126 Flex Problem
1046: Type was not found or was not a compile-time constant: TextureBase. Stage3DProxy.as /project01/away4/src/away3d/core/managers line 136 Flex Problem
1046: Type was not found or was not a compile-time constant: VertexBuffer3D. Stage3DProxy.as /project01/away4/src/away3d/core/managers line 65 Flex Problem
1061: Call to a possibly undefined method copyColumnTo through a reference with static type flash.geom:Matrix3D. Matrix3DUtils.as /project01/away4/src/away3d/core/math line 63 Flex Problem
1061: Call to a possibly undefined method copyColumnTo through a reference with static type flash.geom:Matrix3D. Matrix3DUtils.as /project01/away4/src/away3d/core/math line 78 Flex Problem
1061: Call to a possibly undefined method copyColumnTo through a reference with static type flash.geom:Matrix3D. Matrix3DUtils.as /project01/away4/src/away3d/core/math line 93 Flex Problem
1061: Call to a possibly undefined method copyColumnTo through a reference with static type flash.geom:Matrix3D. Object3D.as /project01/away4/src/away3d/core/base line 410 Flex Problem
1061: Call to a possibly undefined method copyColumnTo through a reference with static type flash.geom:Matrix3D. Object3D.as /project01/away4/src/away3d/core/base line 628 Flex Problem
1061: Call to a possibly undefined method copyFrom through a reference with static type flash.geom:Matrix3D. LensBase.as /project01/away4/src/away3d/cameras/lenses line 102 Flex Problem
1061: Call to a possibly undefined method copyRawDataFrom through a reference with static type flash.geom:Matrix3D. Matrix3DUtils.as /project01/away4/src/away3d/core/math line 47 Flex Problem
1061: Call to a possibly undefined method copyRawDataFrom through a reference with static type flash.geom:Matrix3D. Matrix3DUtils.as /project01/away4/src/away3d/core/math line 149 Flex Problem
1061: Call to a possibly undefined method copyRawDataFrom through a reference with static type flash.geom:Matrix3D. Object3D.as /project01/away4/src/away3d/core/base line 351 Flex Problem.
...Thank you…

   

Tony Tran, Newbie
Posted: 19 November 2011 06:27 AM   Total Posts: 6   [ # 1 ]

How can i fix it ?
:(

   

matthew974, Newbie
Posted: 07 December 2011 05:26 PM   Total Posts: 2   [ # 2 ]

I have the same problem, that’s why i have made a request for swc so it would be simple.

   

Avatar
mrpinc, Sr. Member
Posted: 07 December 2011 05:33 PM   Total Posts: 119   [ # 3 ]

You are not targeting Flash Player 11

Make sure flex compiler settings include -swf-version=13

   

Tony Tran, Newbie
Posted: 07 December 2011 05:35 PM   Total Posts: 6   [ # 4 ]

smile
i reset so i fix it. now it good again

   

Tony Tran, Newbie
Posted: 07 December 2011 05:40 PM   Total Posts: 6   [ # 5 ]

And now i begin with preFab3D and how can we program 3d model like search 3d model or link 3d model to website, note ...etc ? I’m on programing.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X