src/widgets/Arrow.js
branchplayers-as-widgets
changeset 957 4da0a5740b6c
parent 882 61c384dda19e
child 965 eadb7290c325
--- a/src/widgets/Arrow.js	Fri Sep 14 10:38:04 2012 +0900
+++ b/src/widgets/Arrow.js	Mon Sep 17 00:17:06 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) {