Animate allows you to work with Motion Tweens as XML files. Natively, Animate allows you to apply the following commands on any Motion Tween:
- Copy Motion as XML
- Export Motion as XML
- Import Motion as XML
Allows you to copy Motion properties applied to any object on the Stage at a said frame.
- Create a Motion Tween.
- Select any keyframe on the Timeline.
- Go to Commands > Copy Motion as XML.
The Motion property is copied to the clipboard as XML data, you can then use any text editor to work on the XML file.
Allows you to export Motion properties applied to any object on the stage to an XML file that can be saved.
- Create a Motion Tween.
- Go to Commands > Export Motion as XML.
- Browse to a suitable location where you want to save the file.
- Provide a name for the XML file, and click Save.
The Motion tween is exported as an XML file at the specified location.
Allows you to import an existing XML file that has Motion properties defined.
- Select an Object any object on the Stage.
- Go to Commands > Import Motion as XML.
- Browse to the location, and select the XML file. Click Ok.
- On the Paste Motion Special dialog, select the properties that you want to apply on the selected object.
- Click Ok.