src/widgets/Arrow.js
changeset 961 e1baacb52075
parent 957 4da0a5740b6c
child 965 eadb7290c325
--- a/src/widgets/Arrow.js	Fri Sep 14 10:38:04 2012 +0900
+++ b/src/widgets/Arrow.js	Wed Sep 19 14:11:49 2012 +0900
@@ -33,9 +33,9 @@
         fill: this.fill_url ? ( 'url(' + this.fill_url + ')' ) : this.fill_color
     });
     this.moveTo(0);
-    this.bindPopcorn("IriSP.Arrow.updatePosition","onUpdatePosition");
-    this.bindPopcorn("IriSP.Arrow.takeover","onTakeover");
-    this.bindPopcorn("IriSP.Arrow.release","onRelease");
+    this.onMdpEvent("Arrow.updatePosition","onUpdatePosition");
+    this.onMdpEvent("Arrow.takeover","onTakeover");
+    this.onMdpEvent("Arrow.release","onRelease");
 }
 
 IriSP.Widgets.Arrow.prototype.drawAt = function(_x) {