Which language do I need to use?
A bit like http://www.showmycode.com/
And can someone point me in the right direction to get started?
SWFTools - utilities for manipulating and generating SWF
You can install the SWFTools distribution (which also has a command line program) and use SWFExtract , which can decompile flash files.
On OSX, install via: brew install swftools .
brew install swftools
This will install tools such as as3compile , font2swf , jpeg2swf , pdf2swf , png2swf , swfbbox , swfc , swfcombine , swfdump , swfextract , swfrender , swfstrings , wav2swf .
as3compile
font2swf
jpeg2swf
pdf2swf
png2swf
swfbbox
swfc
swfcombine
swfdump
swfextract
swfrender
swfstrings
wav2swf
swfextracts allows swfextracts to extract swf movieclips and objects from swf files.
swfextracts
An example to extract everything:
swfextract --outputformat "extract_%06d.%s" -a 1- sample.swf
FFDec ( GitHub ) - JPompS Free Flash Decompiler
Decompiler and editor Opensource flash SWF. Extract resources, convert SWF to FLA, edit ActionScript, replace images, sounds, texts or fonts. Various output formats are available. Works with Java on Windows, Linux, or MacOS.
Examples:
java -jar ffdec.jar myfile.swf java -jar ffdec.jar -proxy java -jar ffdec.jar -proxy -P1234 java -jar ffdec.jar -export script "C:\decompiled" myfile.swf java -jar ffdec.jar -selectclass com.example.MyClass,com.example.SecondClass -export script "C:\decompiled" myfile.swf java -jar ffdec.jar -format script:pcode -export script "C:\decompiled" myfile.swf java -jar ffdec.jar -format script:pcode,text:plain -export script,text,image "C:\decompiled" myfile.swf java -jar ffdec.jar -format fla:cs5.5 -export fla "C:\sources\myfile.fla" myfile.swf java -jar ffdec.jar -dumpSWF myfile.swf java -jar ffdec.jar -compress myfile.swf myfiledec.swf java -jar ffdec.jar -decompress myfiledec.swf myfile.swf java -jar ffdec.jar -onerror ignore -export script "C:\decompiled" myfile.swf java -jar ffdec.jar -onerror retry 5 -export script "C:\decompiled" myfile.swf java -jar ffdec.jar -config autoDeobfuscate=1,parallelSpeedUp=0 -export script "C:\decompiled" myfile.swf
Instead of "java -jar ffdec.jar" you can use ffdec.bat for Windows, ffdec.sh for Linux / MacOs
SWFScan - FREE Flash decompiler
THIS is the one, the only, HP fantastic SWFScan Adobe Flash de-compile tool and basic 'security scanner' ... use it for the betterment of humanity, and not for evil.