out.print(" trackAsMenu='" + tag.trackAsMenu + "'");
end();
for (int i = 0; i < tag.buttonRecords.length; i++)
{
ButtonRecord record = tag.buttonRecords[i];
indent();
out.println("<buttonRecord " +
"idref='" + idRef(record.characterRef) + "' " +
"depth='" + record.placeDepth + "' " +
"matrix='" + record.placeMatrix + "' " +
"states='" + record.getFlags() + "'/>");
// todo print optional cxforma
}
// print conditional actions
if (tag.condActions.length > 0 && showActions)