I was over in Ireland for Christmas and I needed to do some work on an iPhone app but I don’t have a Mac laptop. I couldn’t get a hackintosh working on my Windows laptop that would run XCode 4. Initially I tried remotely accessing my Mac Mini with a program called iRAPP. It works like Windows Terminal Services so it’s a bit better than the built-in screen sharing (VNC). My broadband connection in Ireland wasn’t brilliant so there was quite a bit of latency but SSH worked fine so I decided to create an Ant script that would upload my source files to the Mac Mini and compile and deploy it to a server so I could install the app on my iPhone using ad-hoc over-the-air distribution.
If you have FDT (an actionscript Eclipse plugin) you can compile your FLAs using Ant. But you first need to set the location of Flash in FDT settings by going to Window > Preferences > FDT > Tools > Flash in Eclipse and entering the location of flash.exe in the Flash IDE text box (it will probably be something like C:\Program Files\Adobe\Adobe Flash CS3\Flash.exe). This will compile the FLAs in Flash – it would probably be faster if it used a command-line compiler like the one that comes with the Flex SDK but I haven’t looked into integrating this yet.