guys any advice please :)

On Oct 5, 3:30 am, bebensiganteng <bebensigant...@gmail.com> wrote:
> hi team,
>
> i desperately need help here :(
>
> i have a game that needs to load different BSP environment
>
> for example:
>
> - first level it will load first BSP environment
> - second level will play a 2D game
> - third level it will load another BSP environment again
>
> now the first load always a success but the second load it always
> shows this error:
>
> TypeError: Error #1034: Type Coercion failed: cannot convert
> away3d.graphs.bsp::bspn...@3b362471 to away3d.graphs.bsp.BSPNode.
>         at Vector$object/http://adobe.com/AS3/2006/builtin::push()
>         at away3d.loaders::AWData/buildBSPLeaf()
>         at away3d.loaders::AWData/prepareData()
>         at away3d.loaders::AbstractParser/parseGeometry()
>         at away3d.loaders::Loader3D/loadTextures()
>         at away3d.loaders::Loader3D$/parse()
>         at away3d.loaders::AWData$/parse()
>         at com.persia.flyingcarpet.views::Away3DViews/initAway3D()
>         at com.persia.flyingcarpet.views::Away3DViews/init3D()
>         at com.persia.flyingcarpet.views::MainViews/transitionInComplete()
>         at Function/http://adobe.com/AS3/2006/builtin::apply()
>         at com.greensock.core::TweenCore/complete()
>         at com.greensock::TweenLite/renderTime()
>         at com.greensock.core::SimpleTimeline/renderTime()
>         at com.greensock::TweenLite$/updateAll()
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
>         at away3d.loaders::Loader3D/notifySuccess()
>         at away3d.loaders::Loader3D/notifyMaterialLibrary()
>         at away3d.loaders::Loader3D/onParserComplete()
>         at flash.events::EventDispatcher/dispatchEventFunction()
>         at flash.events::EventDispatcher/dispatchEvent()
>         at away3d.loaders::AbstractParser/notifySuccess()
>         at away3d.loaders::AbstractParser/parseNext()
>         at away3d.loaders::AbstractParser/update()
>
> i don't know how to properly unload a BSP environment so if one is
> finish i just removed the EnterFrame event and KeyboarEvent and that's
> it x(
>
> can somebody help me pleaseeeeeee...

Reply via email to