Well, I decided to try another possibilty, by using PreFab to generate
the AS3 file instead of Blender, and now I have a new problem... I
hope someone can give me a suggestion, because this seems like it
would be very easy to fix, although I don't know how to...
I saved my blender file as an .obj, loaded it up in PreFab, did some
minor modifications like adding light and materials, and proceeded to
export it.
Did up the new paths and extractions, and tried running it.
And I got this error:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at PoolTable4/applyMaterialToMesh()
at PoolTable4/buildMaterials()
at PoolTable4()
at DPOOL::Main2()
I then tried tracing meshes[i] in the applyMaterialToMesh() bit, and
got a null.
Played around with the path names, nothing happened...
So.. Does anyone have any idea what I missed? Perhaps a possible error
that I didn't notice, or something with naming, or the engine
itself...
I'm sorry for posting so much, and bothering you people who also have
your own work, but I'm seriously pressed for time, and I desperately
need to solve this stupid models problem that is the CRUX of all the
problems. This is hopefully the way out.
To unsubscribe from this group, send email to
away3d-dev+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.