Remove commentary on binding problems. You can't bind to events on other classes...
authorAndy Allan <gravitystorm@gmail.com>
Mon, 18 Oct 2010 13:13:44 +0000 (13:13 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Mon, 18 Oct 2010 13:13:44 +0000 (13:13 +0000)
TODO.txt
net/systemeD/potlatch2/mygpx/MyGpxDialog.mxml

index b1c617d..df01b0c 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -69,6 +69,7 @@ Potlatch 2: main outstanding issues
 * Rework the loading text
 * Have a remove button for removing loaded traces
 * Have a check button for simplifying traces
+* Figure out how to call P2/Simplify for halcyon-based code
 
 Requested enhancements
 ----------------------
index eec346b..c856891 100644 (file)
 
     private function onTracesLoaded(e:Event):void {
         results.text = "loaded!!";
-        // Although the connection emits a Connection.TRACES_LOADED event,
-        // I couldn't get the next binding to work properly. Emitting
-        // an event here does the trick
         dispatchEvent(new Event("traces_loaded"));
     }
 
-    // [Bindable(event=Connection.TRACES_LOADED)]
     [Bindable(event="traces_loaded")]
     private function get traces():Array {
         var conn:Connection = Connection.getConnectionInstance();