make marker a private variable so it has scope throughout the class
like
//placed outside of any method but within the class braces {}
private var marker:Marker;
make a call to get the options, modify them and then set them
function buttonpress(e:ButtonEvent):
{
var existingOptions:MarkerOptions = marker.getOptions();
existingOptions.iconOffset+=10;
marker.setOptions(existingOptions);
}
^ haven't tested this idea but it seems it should work.
Shaun
--
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/-/z35AQiIneVMJ.
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.