Changed MyFunction.getColor

Rename getColor to genColor in MyFunction.as to avoid confusion with
getColor in other classes.
Improved readability in CycleGroup.as

Added spaces to increase readability in CycleGroup.as
Added comments

Added comments in MyFunction.as to improve readability
Modified xfl

Publish history in DOMDocument.xml is updated