Flash CS5 Error: Invalid Input SWF
I ran into this and since I didn’t find anything about this on Google, I thought I might share this with you guys.
If you have Flash CS5 installed you must have played around with the iPhone possibilities. If however you’re unlucky, you might see this a couple of seconds after starting to compile your iPhone app:

That error isn’t saying much, so if you have no idea what is going on, this might take a while to figure out… (took me about 2 weeks…).
A few months ago, I was having trouble with a JAVA applet not working correctly in my browser so I changed a few settings in the JAVA preferences. Apparently that was a bad idea. When I set everything back the way it was, the error was gone
This is how the settings look now (in case anyone was wondering).
























I was having a similar problem with this error as well. What was causing it for me was associating a linkage ID with a library symbol. To fix this, I went in to Publish Settings -> AS 3.0 Settings and at the bottom in Runtime Shared Library Settings changed Default Linkage from “Runtime Shared Library” to “Merged into Code”. Did the trick.
Hm, haven’t come across that one yet! But thanks for sharing! Should save me some time once it happens!
Came across a similar thing; when checking the ‘Export swc’ in the Publish Settings dialog, I got the error. Unchecking it made it diappear..
Thanks for the hint,
I got a similar problem, invalid swf but it refers to PFI/lib/aot/bin/llvm-ld
I load bytecode from external swfs, can that be the problem ?