5005: Unknown error optimizing byte code. Nothing works!

I’m getting this error all of a sudden when I try to compile my flash file.
“5005: Unknown error optimizing byte code.”

I have tried doing this:
http://binhdocco.blogspot.com/2010/1…ptimizing.html

And this:
http://blog.stefig.net/2009/04/5005-…byte-code.html

Which seems to work for most people, but I am still getting this error.

I’m also getting this message in the output window:
“ReferenceError: Error #1065: Variable ComponentShim is not defined.”

It started happening after I created a new .as file that is about 43kb (holds data for a game level).

Running Flash CS5 in Mac OSX Snow Leopard. Someone please help.