swf2js

FLASH源码 2025-07-26

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

[Japanese]

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

[English]

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

[Chinese]

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

  • Next2D WebSite
  • Next2D NoCode Tool
  • GitHub

Website and Demo

  • Japanese
  • English
  • Chinese

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%)
下载源码

通过命令行克隆项目:

git clone https://github.com/ienaga/swf2js.git