Hi,
I have fixed the issue, it's not Spine or Starling runtime fault, it's mine. Actually I have wrote my own AttachmentLoader in order to retrieve textures from my main AssetManager instances, that way I can have more than one Atlas for one Spine animation.
This is the newAttachement function code :
public function newAttachment (skin:Skin, type:AttachmentType, name:String) : Attachment {
if (type == AttachmentType.region) {
var regionAttachment:RegionAttachment = new RegionAttachment(name);
var texture:Texture = _assetManager.getTexture(name);
regionAttachment.rendererObject = new SkeletonImage(texture);
regionAttachment.regionOffsetX = 0; //texture.frame.x;
regionAttachment.regionOffsetY = 0; //texture.frame.y;
regionAttachment.regionWidth = texture.width;
regionAttachment.regionHeight = texture.height;
regionAttachment.regionOriginalWidth = texture.width;
regionAttachment.regionOriginalHeight = texture.height;
return regionAttachment;
}
throw new Error("Unknown attachment type: " + type);
}
In order to fix our problem I set regionOffsetX and Y to 0 instead of texture.frame.x and texture.frame.y