plugged the duck example into Flashbuilder. Am running
AS3SkinExporterStressTest.as AS application. First time through

arcane function addTarget(object : Object3D) : void
{
   _targets[_numTargets++] = object; ......

_numTargets=0 and a Mesh is added to Vector _targets giving it a
length of 1 and _targets = e.g. (@7b5ba61).

Second time through  _targets = @7b5ba61 i.e. same instance,
_numTargets++ makes  _numTargets=1 .... but....... length of _targets
has been reset to 0 somewhere, so in trying to add an object of index
1 to vector _targets the dense array rule is broken as the length1 and
object just created at index 0 has been wiped out and it is trying to
add an index 1 to an empty vector.

I am just starting with Away 3D and am quite happy to work all this
out, but am hoping a hint might at least direct me to where I should
be looking :-) TIA,

Mic.

Reply via email to