If you are doing a 3d>2d position using ScreenVertex, make sure you do that
right after render(), not before, or you might get some error similiar to
this (I did).

Hope it helps.

-Pete

On Mon, Apr 20, 2009 at 8:39 PM, nathan <[email protected]> wrote:

>
> Hey all,
>
> i have successfully upgraded (well almost) to the newest away 3d
> source and getting a runtime error.
>
> I don't get any compile errors and all in all it was a pretty smooth
> transition over to the new source, but I get a major crash...
>
> Main Thread (Suspended: TypeError: Error #1009: Cannot access a
> property or method of a null object reference.)
>        away3d.core.utils::DrawPrimitiveStore/createScreenVertex
>        away3d.cameras.lenses::ZoomFocusLens/project
>        away3d.core.project::MeshProjector/primitives
>        away3d.core.traverse::PrimitiveTraverser/apply
>        away3d.core.base::Object3D/traverse
>        away3d.containers::ObjectContainer3D/traverse
>        away3d.containers::ObjectContainer3D/traverse
>        away3d.containers::View3D/render
>        onEnterFrame
>
> I think it crashes because _vertexDictionary is null....
>
> Maybe its a bit hard for you guys to say what is causing this as you
> don't know the internals of my application, but any ideas on where I
> should start looking?
>
> Thanks for your time,
> Nathan
>
>


-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to