Monday 03 May, 2010

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).


4 Comments

  • Christian says:

    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.

  • Ronny says:

    Hm, haven’t come across that one yet! But thanks for sharing! Should save me some time once it happens! :-D

  • Came across a similar thing; when checking the ‘Export swc’ in the Publish Settings dialog, I got the error. Unchecking it made it diappear..

  • Idden says:

    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 ?


Trackbacks and Pingbacks

Leave a Comment


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">