From: Richard Fairhurst Date: Fri, 4 Sep 2009 16:53:11 +0000 (+0000) Subject: just in case you want to, y'know, drag the map or something X-Git-Tag: 0.5~637 X-Git-Url: https://git.openstreetmap.org/potlatch2.git/commitdiff_plain/54324597669182122d771ef2785f44c36366a9ff just in case you want to, y'know, drag the map or something --- diff --git a/halcyon_viewer.as b/halcyon_viewer.as index 74f0aa17..da1818bf 100755 --- a/halcyon_viewer.as +++ b/halcyon_viewer.as @@ -8,7 +8,7 @@ package { import flash.events.MouseEvent; import flash.display.*; import flash.text.TextField; - import bustin.dev.Inspector; +// import bustin.dev.Inspector; public class halcyon_viewer extends Sprite { @@ -35,10 +35,10 @@ package { addChild(theMap); Globals.vars.root=theMap; -// stage.addEventListener(MouseEvent.MOUSE_UP, theMap.mouseUpHandler); -// stage.addEventListener(MouseEvent.MOUSE_MOVE, theMap.mouseMoveHandler); -// stage.addEventListener(MouseEvent.MOUSE_DOWN, theMap.mouseDownHandler); - Inspector.getInstance().init(stage); + stage.addEventListener(MouseEvent.MOUSE_UP, theMap.mouseUpHandler); + stage.addEventListener(MouseEvent.MOUSE_MOVE, theMap.mouseMoveHandler); + stage.addEventListener(MouseEvent.MOUSE_DOWN, theMap.mouseDownHandler); +// Inspector.getInstance().init(stage); var z1:Sprite=new Sprite(); z1.graphics.beginFill(0x0000FF); z1.graphics.drawRoundRect(0,0,20,20,5); z1.graphics.endFill();