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

Might as well use `=>` functions, since we have them.