First cut at styling TIGER data via an option. Needs lots of propagation of uid and...
[potlatch2.git] / net / systemeD / halcyon / NodeUI.as
index fb825b6517b5ef719f8217a2317a99605c98d094..eb9e608bf8c380f1b97363f47475ec191a4a62fb 100644 (file)
@@ -147,12 +147,12 @@ package net.systemeD.halcyon {
                }
 
                private function addHitSprite(w:uint):void {
-            var hitzone:Sprite = new Sprite();
+            hitzone = new Sprite();
             hitzone.graphics.lineStyle(4, 0x000000, 1, false, "normal", CapsStyle.ROUND, JointStyle.ROUND);
                        hitzone.graphics.beginFill(0);
                        hitzone.graphics.drawRect(0,0,w,w);
                        hitzone.visible = false;
-                       setListenSprite(hitzone);
+                       setListenSprite();
                }
 
                private function loadedIcon(event:Event):void {