make sure the customPath entered is correct.

Fabrice


On Oct 12, 2010, at 8:04 PM, metSyS wrote:

> I'm creating Cube primitive? set camera above the cube primitive, and
> compile. Then I copy two files(MyBSPProject.as & MyBSPTree.awd) and
> one folder(images), to the source folder and run it in debug player.
> The player says that there is an error :
> 
> "TypeError: Error #1009: Не удается вызвать свойство или метод со
> ссылкой на объект "null".
>       at away3d.loaders::AWData/linkBSPNodes()[E:\T E A C H\Flex\projects
> \MyPlateTree\src\away3d\loaders\AWData.as:440]
>       at away3d.loaders::AWData/prepareData()[E:\T E A C H\Flex\projects
> \MyPlateTree\src\away3d\loaders\AWData.as:281]
>       at away3d.loaders::AbstractParser/parseGeometry()[E:\T E A C H\Flex
> \projects\MyPlateTree\src\away3d\loaders\AbstractParser.as:420]
>       at away3d.loaders::Loader3D/loadTextures()[E:\T E A C H\Flex\projects
> \MyPlateTree\src\away3d\loaders\Loader3D.as:508]
>       at away3d.loaders::Loader3D$/parse()[E:\T E A C H\Flex\projects
> \MyPlateTree\src\away3d\loaders\Loader3D.as:61]
>       at away3d.loaders::AWData$/parse()[E:\T E A C H\Flex\projects
> \MyPlateTree\src\away3d\loaders\AWData.as:519]
>       at MyPlateTree/initAway3D()[E:\T E A C H\Flex\projects\MyPlateTree\src
> \MyPlateTree.as:91]
>       at MyPlateTree/init()[E:\T E A C H\Flex\projects\MyPlateTree\src
> \MyPlateTree.as:67]
> "
> 
> the line 91 is:
> 
> _tree = BSPTree(AWData.parse(new BSPFile(), {customPath:"./
> images/"}));
> 
> What am I do wrong?

Reply via email to