CreateJS

From Wikipedia, the free encyclopedia
Jump to: navigation, search

CreateJS is a suite of modular libraries and tools which work together to create interactive content on open web technologies via HTML5.

The libraries are designed to work completely independently, or mixed and matched.

CreateJS was created by gskinner.com,[1] and is officially sponsored by Adobe, Microsoft, and AOL.

Libraries[edit]

The CreateJS Suite comprises four main libraries, and some related tools:

EaselJS[edit]

EaselJS provides solutions for working with graphics and interactivity with HTML5 Canvas. It provides an API that is familiar to Flash developers, including a hierarchical display list, and DOM level 2 events.

TweenJS[edit]

TweenJS is a simple tweening library for use in Javascript. It was developed to integrate with the EaselJS library, but is not dependent on it. It supports tweening of both numeric object properties & CSS style properties.

SoundJS[edit]

Audio playback via HTML5, WebAudio, and Flash using a plugin model, which queries for capabilities and selects a suitable plugin to work cross-platform on most browsers.

PreloadJS[edit]

A library to preload assets, including images (using a plugin model and SoundJS), sounds, JavaScript, text data, etc. It uses XHR2 where possible, and falls back to tag-based loading. It allows multiple queues, and multiple connections.

Zoë[edit]

Zoë is an Adobe AIR application that converts SWF animations to sprite sheets. Drag a SWF onto the application, and Zoë will automatically detect the required dimensions for the images in a sprite sheet, maintain any frame labels present in the SWF (for controlling playback), and export a sprite sheet image and related data. Support for playback via EaselJS' SpriteSheet/Sprite is included.

Toolkit for CreateJS[edit]

In 2011,[2] Adobe released a SWF panel for use with Flash Professional CS6 that enabled export from Flash to HTML5 Canvas via the CreateJS libraries. Subsequent releases of the panel were included in Flash Professional by default.

The toolkit will export vectors, animation, images, audio, and a limited filter set to HTML5, which can be run in browsers with Canvas support.

See also[edit]

References[edit]