Skip to content

Play a SWF

Files you open or drop are read in this browser: nothing is uploaded. A URL loads only where its server allows other sites to load it (CORS).

Drop a SWF here, open one, or try a demo below.

fps
–
frame
–
sub-draws
–
GL calls
–
heap
–

Console

Report a problem

This SWF

File
none yet

Demos

Built from the swf2es repository's own sources at this site's build.

    What to expect

    • ActionScript 3 (AVM2) runs, compiled to JavaScript as the SWF loads. Video is not implemented.
    • Stage3D is off until you tick it. Tick Stage3D in the player controls before opening a Stage3D SWF; changing it restarts the current SWF. It needs WebGL 2.
    • ActionScript 1 and 2 (AVM1) run too, compiled to JavaScript, including clips and their events, buttons, mouse and keyboard input, drawing, editable text fields and CSS, sound, filters and blend modes, BitmapData, SharedObject, and loading with loadMovie, MovieClipLoader, LoadVars and XML. File dialogs and transfers through FileReference, browser scripting through ExternalInterface, HTTP remoting through NetConnection, and LocalConnection messaging between SWFs within one player (including AVM1 and AVM2) are supported. Compatibility is still incomplete: video and printing are not implemented, and some SWFs have rendering or interaction differences.
    • No sockets. A browser cannot open TCP connections and this static site runs no relay, so Socket and XMLSocket fail as refused.
    • Cross-origin loads. A SWF by URL, and whatever it loads from another site, arrive only where that server allows it (CORS headers).
    • Files you open play as if from this site's local/ folder, by their names: what one loads by a relative URL is not there, and each name keeps its own saved data (SharedObjects) in this browser.
    • The page keeps the code it compiled in this browser's IndexedDB, so a SWF starts faster next time.
    • ActionScript 3 links against avmplus' builtin.abc (MPL-2.0) and swf2es's own playerglobal, never Adobe's. See the licences.

    Build 4bde2c49983d