Ah wait, either you are not using an awd generated by latest Prefab, or you do not use the latest Lite.

Sent from an iPhone without Flash

On Jun 21, 2010, at 0:48, Th3Sh33p <[email protected]> wrote:


If I hadn't added the child would it cause the script to not work?
On Jun 20, 5:36 pm, Th3Sh33p <[email protected]> wrote:
Yes, but it's a series of functions a bit too long to post in full,
just my code is giving me a RangeError so I would like an example

On Jun 20, 2:56 pm, Fabrice3D <[email protected]> wrote:



do you addChild() at some point? For instance in your model_loaded function?

Fabrice

On Jun 20, 2010, at 5:47 PM, Th3Sh33p wrote:

I'm having a lot of trouble loading a awd file /: this is what I'm
trying to do....

var ld:Loader3D = new Loader3D()
ld.addEventListener(Loader3DEvent.LOAD_SUCCESS,model_loaded);
ld.addEventListener(Loader3DEvent.LOAD_ERROR,model_errored);
var ap:AWData = new AWData()
ld.loadGeometry("unit/Tree/Tree.awd",ap);

..but I'm unsure if this is how it should be done, they seem to be
missing the away3dlite.loaders.AWData class in the away3dlite
documentation.

http://away3d.com/livedocs/fp10/Away3DLite/

Any help greatly appreciated.

Reply via email to