I'm making a shape creation tool in flash. I'll post it when I'm done, but I it seems that I can only create shapes if I do it clockwise. I don't recall reading anything about this in the documentation... It doesnt seem to make very much sence? Has anyone else noticed this.
e.g. This works
shapeDefSW.vertexCount = 3;
shapeDefSW.vertices[0].Set(-49, 23);
shapeDefSW.vertices[1].Set(2, -54);
shapeDefSW.vertices[2].Set(45, 26);
but this doesn't (the same points just in a different order)
shapeDefSW.vertexCount = 3;
shapeDefSW.vertices[0].Set(-49, 23);
shapeDefSW.vertices[1].Set(45, 26);
shapeDefSW.vertices[2].Set(2, -54);
e.g. This works
shapeDefSW.vertexCount = 3;
shapeDefSW.vertices[0].Set(-49, 23);
shapeDefSW.vertices[1].Set(2, -54);
shapeDefSW.vertices[2].Set(45, 26);
but this doesn't (the same points just in a different order)
shapeDefSW.vertexCount = 3;
shapeDefSW.vertices[0].Set(-49, 23);
shapeDefSW.vertices[1].Set(45, 26);
shapeDefSW.vertices[2].Set(2, -54);