Hey Jonathan
I do apprecaite it.Here is my code using the MyPolygon extends Polygon
class.
I want to change the color of the polygon when i roll over it and trace its
name or id   e.g. polygonSA.id or polygonSA.name


var paramSA:Object = new Object();
            paramSA.pointz = new Array();
            var Str:String="";
            var my_SA1:Array=Str.split("=");

            for (var i1 = 0; i1<my_SA1.length; i1++) {
                var mbili1:Array=my_SA1[i1].split(",");
                paramSA.pointz.push(new LatLng(mbili1[1],mbili1[0]));
            }


            var polygonSA:MyPolygon=new
MyPolygon("polygonSA",paramSA.pointz,polygonOptions);

polygonSA.addEventListener(MapMouseEvent.ROLL_OVER,withInfowinRollOver);


            private function withInfowinRollOver(e:MapMouseEvent) {
                //i want to change the color of the polygon when i roll over
it and trace its name or id
            }

Cheers,
--kharddie

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to