Fun fact from a guy I know who's seen the code of Flash: it's roughly 15% #ifdefs. Not code within #ifdefs, but actual lines of #ifdef and #endif and so forth.
I feel sorry for the people who have to do the porting.
Is it machine generated? What do the #ifdefs depend on in general? Perhaps platform?
sarcasm begin
They obviously haven't heard about HTML 5's canvas element!