No worries. At some point I thought somehow this early 'indices array
missing' issue was back in AWData.
Glad its not.
Yes, one of the coolness of .awd above .as exports is that you can
drop it back in Prefab and it works for f9, f10 and AwayLite(not the
early build).
Sent from an iPhone without Flash
On Jun 21, 2010, at 3:07, Th3Sh33p <[email protected]> wrote:
Oh wow sorry for Quadruple post, but it turns out I just don't know
how to use svn, after actually downloading the latest version of
away3dlite it worked sorry about that :(
On Jun 20, 8:52 pm, Th3Sh33p <[email protected]> wrote:
Ugh sry for triple post, but the model loads successfully back into
prefab
On Jun 20, 8:29 pm, Th3Sh33p <[email protected]> wrote:
I'm about to give up, it keeps throwing this error
RangeError: Error #1125: The index 6 is out of range 6.
at Function/<anonymous>()
at away3dlite.loaders::AWData/prepareData()
at away3dlite.loaders::AbstractParser/parseGeometry()
at away3dlite.loaders::Loader3D/loadTextures()
at away3dlite.loaders::Loader3D/onGeometryComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at away3dlite.loaders::Loader3D/onParserComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at away3dlite.loaders::AbstractParser/notifySuccess()
at away3dlite.loaders::AbstractParser/parseNext()
at away3dlite.loaders::AbstractParser/update()
On Jun 20, 8:23 pm, Th3Sh33p <[email protected]> wrote:
Alright I'll update and try immediately adding the child,
On Jun 20, 7:32 pm, Fabrice3D <[email protected]> wrote:
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.