/swf2js

swf2js is Flash Player Runtime Engine written in pure JavaScript. swf2js is now complete as an emulator and will evolve into the @Next2D project.

Primary LanguageJavaScriptMIT LicenseMIT

swf2js

About

[Japanese]

Adobe Animate(Flash)のSWFファイルをリアルタイムで解析し、HTMLに変換するJavaScript製のFlashPlayerエミュレーターです。
Flex,Flash,Animate、全てのプラットフォームのSWFに対応しています。

[English]

This is a JavaScript FlashPlayer emulator that analyzes SWF files of Adobe Animate (Flash) in real time and converts them to HTML.\
It supports SWFs for Flex, Flash, Animate, and all platforms.

[Chinese]

它是一个JavaScript FlashPlayer模拟器,可以实时分析Adobe Animate (Flash) SWF文件并将其转换为HTML。
它支持SWF的Flex、Flash、Animate和所有平台。

Next2D Project

Next2D NoCode Tool Working Image

[Japanese]

swf2jsはエミュレータとして完成し、Next2Dプロジェクトに進化していきます。

[English]

swf2js is now complete as an emulator and will evolve into the Next2D project.

[Chinese]

swf2js作为一个模拟器现在已经完成,并将发展成为Next2D项目。

Website and Demo

HTML - SAMPLE CODE

<script type="text/javascript" src="swf2js.js"></script>
<script type="text/javascript">
    swf2js.load('SET SWF PATH');
</script>  

Project status

Free Version Production Version
ActionScript 1.0, 2.0 3.0
Compression ZLIB ZLIB/LZMA
WebGL × FullWebGL
Filters DropShadow/Blur/Glow/Bevel ALL Available.
Blend Modes 50% ALL Available.
Video × MP4/Flv(60%)