Thank you for the reply Ian... greatly appreciated.
I have the color changing based on click on and off sorted :)
I am a bit new to as3 and now jumping into gmaps too lol.
Not sure how i should write that loop. If you could help I
would appreciated it... sorry im still a bit new in the world of programming
but very eager to learn :)
I also tried something else if it might help... I have set an id property in
the polygon options
new PolygonOptions({
id:"Block" + i,
//accessibilityDescription:i,
strokeStyle: new StrokeStyle({
color: 0x00FFFF,
thickness: 1,
alpha: 1}),
fillStyle: new FillStyle({
color: 0x666666,
alpha: 0.7})
}));
and I don't get any errors but still cant seem to get the correct syntax
to reference it with
gridBlock.addEventListener(MapMouseEvent.CLICK, function(e:Event):void
{
var clickedBlock = e.currentTarget.PolygonOptions(id);
check1.text = clickedBlock;
});
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-api-for-flash/-/U2Wsta4F9cUJ.
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.