Can I somehow execute the following line in command line when I am compiling my AS3 application in FDT? If so, how do I set it up in FDT?
python add-advanced-telemetry.py Application.swf
Have a look at the FDT Ant tutorial and docs.