Bug 1035170 - Rewrite SWF parsing to a scan-first, parse tags on demand approach

Yes, I know :( I'm not happy about it at all, but it was pretty much impossible to separate the two in many cases: I would've had to deliberately implement the wrong behavior in the new code, which didn't make any sense.