Improve support for AVM1 SWF loading