lundi 2 mars 2015

Drag and drop doesn't work in chrome using EaselJS


Vote count:

0




I've been trying to implement some drag and drop functionality for a Bitmap in EaselJS. Anyways, it works just fine in Firefox and IE, but nothing happens when I try to run the code in Chrome. All of the code is local, as is the image.


Here's a brief overview of the relevant code:



stage = new createjs.Stage("testCanvas");
img = new createjs.Bitmap("img.png");
stage.addChild(img);
img.addEventListener("pressmove", function ( event ) {

tpp.x = event.stageX;
tpp.y = event.stageY;

});

stage.update();


asked 37 secs ago







Drag and drop doesn't work in chrome using EaselJS

Aucun commentaire:

Enregistrer un commentaire