Is there is a JSFL script to compile all opened fla in the Flash IDE?
The JSFL you found is the most straightforward way, but also remember that you can publish all FLAs in a project file right from the project window (Window -> Other Panels -> Project in Win/CS5), without having to have each file open.