Questions tagged [createjs]

A suite of Javascript libraries and tools for building rich, interactive experiences with HTML5.

CreateJS is a suite of modular libraries and tools which work together to enable rich interactive content on open web technologies via HTML5. These libraries are designed to work completely independently, or mixed and matched to suit your needs.


The CreateJS Suite is comprised of:

  • EaselJS - Makes working with HTML5 Canvas a breeze
  • TweenJS - Powerful library for tweening and animating
  • SoundJS - Tools for working with HTML5 Audio API
  • PreloadJS - Asset management system
  • Zoë - Tool written in ActionScript for producing Sprites for the CreateJS library.

Resources


Related tags

1271 questions
0
votes
4 answers

Put a slider bar in a canvas for control the volume

I am trying to add a slide bar (like this http://demos.jquerymobile.com/1.3.0/docs/widgets/sliders/) in a canvas to control the volume of the sound using SoundJS . I tried to search on google some information about a slidebar in a canvas but there…
0
votes
2 answers

Ticker problems when combining CreateJS + PhoneGap

I am currently developing an HTML5/JavaScript game using the CreateJS suite, and it worked very nicely in a browser. I am now attempting to modify it so it will work as a PhoneGap application. I've managed to iron out all the kinks so far; except…
DanTheMan
  • 556
  • 2
  • 7
  • 21
0
votes
1 answer

CreateJS: How do you use MovieClip assets exported by Flash CC?

I'm exporting a bunch of assets with Flash CC HTML5 template for use in a project. There is one movieclip in the lib code but when I test I get: Uncaught TypeError: undefined is not a function I'm loading movieclip-0.7.1.min.js but createjs doesn't…
BadmintonCat
  • 9,416
  • 14
  • 78
  • 129
0
votes
1 answer

TweenJS not respecting instances?

The Situation I need to loop through an array, and run a tween based on each item's value. Thus, for each item in the array, there must be a separate Tween instance. According to the TweenJS documentation, the get() method "Returns a new tween…
Jake
  • 4,014
  • 8
  • 36
  • 54
0
votes
1 answer

EaselJS Inheritance - refactoring to allow for single animation declaration

I'm creating an animation piece using EaselJS and am running into a problem with it's Inheritance when trying to declare reusable objects. For example, in my animation piece I want to draw multiple coins at different points on the canvas, and then…
benmacgowan
  • 185
  • 1
  • 1
  • 9
0
votes
1 answer

Webstorm with CreateJS library

Can you show me how to add custom JS library(CreateJS in this case) in webstorm and use the intellisense/code auto complete for it. I tried myself, in file->settings->javascript->libraries I clicked add and in the Edit Library pop-up window I…
vlad
  • 1
  • 1
  • 1
0
votes
1 answer

CreateJS EventDispatcher and inheritance

I'm trying to create a base class that has createjs EventDispatcher functionality and then create sub classes from this base class but if I then try to use addEventListener on the subclass instance I get the error: TypeError:…
BadmintonCat
  • 9,416
  • 14
  • 78
  • 129
0
votes
1 answer

how to get a local value

hy, i have a piece of code using easeljs library , i want to make a letter that change when it clicked , but i'm have a problem to get a local variable ,or the event not change the variable anymore i have tried to make a code like this, function…
0
votes
1 answer

easeljs: getObjectsUnderPoint does not return all shapes

I draw 2 shapes, one above the other. The getObjectsUnderPoint function returns only one shape even the point is part of both shapes. The point I get in addEventListener handler of the upper shape. Here is full jsfiddle example. var stage; function…
Petr Felzmann
  • 1,271
  • 4
  • 19
  • 39
0
votes
0 answers

Cannot read property "width" of undefined (Bitmap)

I have a problem adding a bitmap image to the stage. This is the code: this.rewind_btn= new createjs.Bitmap(images.rewind_btn); this.rewind_btn.setTransform(twixjs.Frontend.WIDTH/2 + this.rewind_btn.image.width,twixjs.Frontend.HEIGHT -…
CMS
  • 704
  • 3
  • 9
  • 32
0
votes
3 answers

Information I seem to only be able to get in the console which I need to use in my JavaScript?

Here's the situation. I have the following line of code: console.log(contents.storeShapes_mc.children[i]); which prints out in the console like so: lib.Store106II {id: 137, _matrix: a, _rectangle: a, children: Array[2], shape: a…} I want to…
Steve Bird
  • 67
  • 1
  • 8
0
votes
1 answer

Is anyone having problems getting EaselJS to run properly

I just started trying to use EaselJS, and I'm following the tutorials that I have found online. As far as I can tell, I have copied the code exactly, and all works fine until I add the "addEventListener" function command. After that I get a blank…
Jeff Walters
  • 161
  • 3
  • 11
0
votes
2 answers

New createJS toolkit for flash

Adobe changed the way createJS toolkit is now working. in a result, my files no longer works. I used the */ (remark syntax) for coding, so what do I do with my previous file - do I still need to use this syntax? the new publish option remove those…
user3074691
  • 31
  • 1
  • 4
0
votes
2 answers

EaselJS CreateJS 'pressmove', 'pressup' not working

I've converted a .fla file to .js file, I've added several listeners on multiple elements in that file. Among which 'click','mousedown' & 'mouseover' are working fine, but 'pressmove' & 'pressup' events are not responding, and they are not even…
user3099736
  • 1
  • 1
  • 1
0
votes
1 answer

Flash CreateJS navigate to URL on enter last frame

I have an anim created in Flash CS6 and exported using CreateJS framework. The only thing I need is for the animation to redirect the browser to another URL when the anim completes. In AS3 this does what I need just fine: navigateToURL(new…
Machineuser
  • 93
  • 1
  • 1
  • 13