Hi guys,
I'm trying to use Sprite3D, but as i try to add an instance of this
object to the scene via view.scene.addSprite, i receive the following
error:

RangeError: Error #1126: Cannot change the length of a fixed Vector.

My code is really simple:

var material:ColorMaterial = new ColorMaterial(0xff0000);
var sprite:Sprite3D = new Sprite(material);
sprite.x = sprite.y = sprite.z = 0;
view.scene.addSprite(sprite);

I've also tried with other materials, like BitmapMaterial, but always
with the same result.
Is there someone that has an idea on how to solve this issue?

Thank you!

Fiorenzo.

Reply via email to