How to import sprite sheets and xml files created in Adobe Animate?

I tried to import the texture (sprite sheets) and divide it into sprites, entering the coordinates as in the xml file, but not everything worked out, when I tried to create a flipbook, the animation played crookedly.

Also I didn’t find how to apply pivotX, pivotY, frameX, frameY, frameWidth and frameHeight in the Sprite Editor.

<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas imagePath="start_button.png">
	<!-- Created with Adobe Animate version 21.0.1.37179 -->
	<!-- http://www.adobe.com/products/animate.html -->
	<SubTexture name="start normal0000" x="1377" y="4" width="615" height="122" pivotX="8.4" pivotY="9.8"/>
	<SubTexture name="start normal0001" x="1377" y="4" width="615" height="122"/>
	<SubTexture name="start normal0002" x="1377" y="4" width="615" height="122"/>
	<SubTexture name="start normal0003" x="4" y="133" width="615" height="122"/>
	<SubTexture name="start normal0004" x="4" y="133" width="615" height="122"/>
	<SubTexture name="start normal0005" x="4" y="133" width="615" height="122"/>
	<SubTexture name="start normal0006" x="619" y="133" width="615" height="122"/>
	<SubTexture name="start normal0007" x="619" y="133" width="615" height="122"/>
	<SubTexture name="start normal0008" x="619" y="133" width="615" height="122"/>
	<SubTexture name="start pressed0000" x="1234" y="133" width="796" height="173" pivotX="11.05" pivotY="17.15" frameX="0" frameY="-3" frameWidth="796" frameHeight="181"/>
	<SubTexture name="start pressed0001" x="4" y="306" width="794" height="174" frameX="-2" frameY="-2" frameWidth="796" frameHeight="181"/>
	<SubTexture name="start pressed0002" x="798" y="306" width="794" height="181" frameX="0" frameY="0" frameWidth="796" frameHeight="181"/>
</TextureAtlas>

1 Like