edit: there is an official spec and it's 243 pages https://www.adobe.com/devnet/swf.html
Reply on news.ycombinator.com