Ant is basically designed for Javac. In AS3 you can use it in conjunction with flexTask.jar (that is the tasks file that can run MXMLC, COMPC and HTML template generator). It is an interesting thing by itself, and, may automate building big projects composed of number of modules, including HTML templates and / or XML configuration files that need to be updated with every build, but, for an average project you will hardly ever need that... So, if you don't absolutely have to, I'd spend time on learning something else instead