How can I view Flash Source Code?

Bijan picture Bijan · Feb 13, 2009 · Viewed 43.2k times · Source

I found a Flash program online that would be perfect for a project I'm working on. Obviously with web content you can usually just use your browser to view the source code of whatever HTML, PHP, etc that you may be looking at. But when it comes to Flash it seems we're left in the dark in terms of viewing source code.

Is there any way to view the source code for a Flash swf that you download?

Note: As to whether stealing Flash code is morally reprehensible, perhaps that would be better suited for a different question.

Answer

MontyGomery picture MontyGomery · Feb 13, 2009

There's no source code in a .swf - that's the compiled product. The source code is in the .fla.