Make sure that you have selected the new flex 4.5.** SDK as the SDK to
be used with your project and also ensure that you did set the
compiler switch correctly. You can use this tutorial to double check
against:

http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=5&subindex=1&aid=263

On Mar 2, 8:10 am, Nilpointer <[email protected]> wrote:
> Hi all,
>
> I'm trying to get something up and running with Incubator and Away3D
> under FlashBuilder 4
>
> What I did:
>
> - Install the SDK
> - Create a new Project (Type ActionScript)
> - Point to the new SDK
> - Set target Player Version to 13
> - Updated my away3d SVN Directory
> - added a source Path to broomstick source directory in Project
> Settings
> - Copy some simple exmple Code (Primitive Tests)
>
> Problem is: I get some errors in the Broomstick source:
>
> 1046: Type was not found or was not a compile-time constant:
> Context3D.      AnimationBase.as        /mh/[source path] 
> src/away3d/animators/
> data    line 54 Flex Problem
>
> 1046: Type was not found or was not a compile-time constant:
> IndexBuffer3D.  IRenderable.as  /mh/[source path] src/away3d/core/base
> line 78 Flex Problem
>
> 1046: Type was not found or was not a compile-time constant: Stage3D.
> Stage3DProxy.as /mh/[source path] src/away3d/core/managers      line 39
> Flex Problem
>
> 1046: Type was not found or was not a compile-time constant: Texture.
> MipmapGenerator.as      /mh/[source path] src/away3d/materials/utils    line
> 22      Flex Problem
>
> 1046: Type was not found or was not a compile-time constant:
> TextureBase.    ShadowMapperBase.as     /mh/[source path] src/away3d/lights/
> shadowmaps      line 44 Flex Problem
>
> 1046: Type was not found or was not a compile-time constant:
> VertexBuffer3D. IRenderable.as  /mh/[source path] src/away3d/core/base
> line 50 Flex Problem
>
> 1061: Call to a possibly undefined method copyFrom through a reference
> with static type flash.geom:Matrix3D.   Object3D.as     /mh/[source path]
> src/away3d/core/base    line 95 Flex Problem
>
> 1061: Call to a possibly undefined method copyRawDataFrom through a
> reference with static type flash.geom:Matrix3D. Matrix3DUtils.as        /mh/
> [source path] src/away3d/core/math      line 47 Flex Problem
>
> 1061: Call to a possibly undefined method copyRawDataTo through a
> reference with static type flash.geom:Matrix3D. Matrix3DUtils.as        /mh/
> [source path] src/away3d/core/math      line 106        Flex Problem
>
> 1061: Call to a possibly undefined method copyRowTo through a
> reference with static type flash.geom:Matrix3D. Matrix3DUtils.as        /mh/
> [source path] src/away3d/core/math      line 63 Flex Problem
>
> ignoring the Errors results in a Whte Screen only with one Incubator
> Version Line of Text in the lower right corner of the screen (so -
> something seems to be running ;) )
>
> I guess i just missed/messed up some settings...
>
> thanks fpr helping
>
> Regards,
>
> Andreas

Reply via email to