There are some alternatives to buying Flash which might be worth investigating.
For example I found a Q&A for programmers at stackoverflow which mentioned wonderfl.net, a free online flash builder, and FlashDevelop, a free and open source Flash ActionScript source code editor, amongst other things.