Skip to content

flash to html5 converter, as3 to javascript translator

License

Notifications You must be signed in to change notification settings

superman2211/guepard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guepard

Flash to HTML5 converter.

Conversion process

  • Parsing resources (from SWF or FLA files)
  • Creation atlases
  • Export resources from SWF to XML for animations and structure, and JPG / PNG for graphics and atlases
  • Parsing AS3 code
  • Analysing code and fixing unknown types
  • Export JS code
  • Generation HTML page

Usage (windows, mac, linux)

  • Install Adobe AIR
  • Install converter.air AIR application
  • Download and extract Guepard SDK from /sdk to your folder
  • Start application and create new project
  • Set all fields in all tabs as you need
  • Set SDK Path to your folder in Settings tab
  • Build project

Build (windows)

  • Download and unpack or clone this repository
  • Download and install java
  • Download and install .net framework
  • Download and install FlashDevelop
  • Run FlashDevelop
  • In opened RunMan select and install:
    • Flex SDK + AIR SDK
    • Adobe AIR
  • You can run RunMan after by menu: Tools -> Install Software
  • After install all components restart FlashDevelop
  • Create project: Menu -> Project -> Action Script 3 -> AIR AS3 Projector
    • Name: converter
    • Location: guepard repository location
  • Set main class: Project Tab -> src/com/guepard/app/Converter.as -> Context Menu -> Set Document Class
  • In the same tab
    • lib/bloodyCrypto/bloody_crypto.swc -> Context Menu -> Add to library
    • lib/design/design.swc -> Context Menu -> Add to library
    • lib/zip/fzip.swc -> Context Menu -> Add to library
  • Run project!

Demos

Demos from Adobe Animation / Adobe Flash Proffesional:

Shapes flash html5

Images flash html5

Texts flash html5

Animation flash html5

Mask flash html5

Fla flash html5

Demos from Flash Develop / Flex / IntelliJ Idea:

Game flash html5

Draw flash html5

XML / XMLList flash html5

Extreme AS3 Code flash html5 as3 js

Third Party

Box2D flash html5

Known issues

  • Now WebGL not works - only Canvas render.
  • There are many limitations of code conversion from AS3 to JS.