hmm its really strange ... now i tested it with a normal cube primitve
from prefab ... this is my code:
[Embed(source="cube.awd", mimeType="application/octet-stream")]
private var CubeFile:Class;
...
var cube:Object3D = AWData.parse(new CubeFile(), { customPath:"./
images/" } );
_tree.addChild(cube);
its the same issue ... _view.scene.addChild(cube); shows the cube
completely inbound ... _tree shows nothing ... did i something wrong
with the embedd?
On 24 Jan., 14:46, John Brookes <[email protected]> wrote:
> Try
> var objekte:ObjectContainer3D = AWData.parse(new AWDFile(), {
> customPath:"./images/images/" } ) as ObjectContainer3D;
> _tree.addChild(objekte.chilren[0]);
>
> I just a quick test with a cube and a prefab generated sphere added to the
> tree and that above is the obly one that worked for me.