Calendar using actionscript

Does anyone know how to create a calendar, (something like the one shown in the link below), where you can insert events in the boxes (just 2 lines is enough) using txt files or xml? With the ability to decide the color of the box of certain events using xml?

http://www.flashkit.com/movies/Applications/Calendar-David_Do-927/index.php

Thanks!