Libraries
A SWF’s ActionScript 3 links against builtin.abc (avmplus’ standard
library, MPL-2.0) and a playerglobal (the flash.* classes). swf2es ships
both: builtinLibrary in @swf2es/runtime, the avmplus submodule’s
oracle/avmplus/generated/builtin.abc (tools/avmplus-libraries.ts
embeds it), and its own playerglobal, playerglobalLibrary in
@swf2es/player: Flash Player’s API, compiled from as3/playerglobal
(Ruffle’s AS3 and the player’s own, see as3/README.md).
@swf2es/player and @swf2es/player/libraries export all three
libraries the player loads, airLibrary among them, so nothing needs
setting up.