Skip to content

Instantly share code, notes, and snippets.

@kled
kled / gist:2001439
Created March 8, 2012 15:12 — forked from codemasta92/gist:1555328
HTML5 : Easel JS Button
(function(k) {
var Button = function(a, x, y) {
this.initialize(a,x,y)
},p = Button.prototype = new DisplayObject;
p.left = 0;
p.top = 0;
p.ypos = 0;
p.image = null;
p.snapToPixel = true;