The extention that is appended to the end is hard coded.
So if you have something like:
Code:
<UseControl type="Button">
<Button type="template" custom="true" noFrame="true" textColor="gold">
<Rect x="1" y="1" width="144" height="30"/>
<Template>ButtonGraphic</Template>
<DisplayName></DisplayName>
<GraphicName label="ButtonGraphic" isBaseName="false">
<Name>MothersMenuEquipment</Name>
</GraphicName>
</Button>
<Settings name="_equip"/>
</UseControl>
The graphics it looks for in your textures xml will be called
MenuEquipmentNormal
MenuEquipmentFlyBy
MenuEquipmentPressed
etc.
So, if you don't really want to define each of them, just point all 6? of those animations to the same graphic or else when it finds one you haven't defined, the button will simply vanish.