Module: nagvis
Branch: master
Commit: 89aec43267722c87567aeb43116dae5c51b4b1a2
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=89aec43267722c87567aeb43116dae5c51b4b1a2

Author: Roman Kyrylych <[email protected]>
Date:   Tue Aug 18 18:49:53 2009 +0300

gmap: Fixed links line color not being changed on link object change

Signed-off-by: Roman Kyrylych <[email protected]>

---

 uifx/src/modules/gmap/view/controls/LinkLine.as |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/uifx/src/modules/gmap/view/controls/LinkLine.as 
b/uifx/src/modules/gmap/view/controls/LinkLine.as
index 80d5cd3..bf4eed1 100644
--- a/uifx/src/modules/gmap/view/controls/LinkLine.as
+++ b/uifx/src/modules/gmap/view/controls/LinkLine.as
@@ -30,6 +30,8 @@ package modules.gmap.view.controls
        import modules.gmap.domain.Link;
        import modules.gmap.events.LinkEvent;
 
+       import mx.events.PropertyChangeEvent;
+
        public class LinkLine extends Polyline
        {
                private var _lastTimeClicked : Number = 0;
@@ -55,7 +57,7 @@ package modules.gmap.view.controls
                        this.addEventListener(MapMouseEvent.CLICK, 
this.onClick);
 
                        _link = link;
-                       _link.addEventListener('change', this.onChange);
+                       
_link.addEventListener(mx.events.PropertyChangeEvent.PROPERTY_CHANGE, 
this.onChange);
                }
 
                /***


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to