I've created a google map in my Flash CS4 project using this tutorial:
However, I can't seem to control the movie clips that are my custom markers. They show up just fine, but I'm unable to add an event listener that works. Since they're coming straight from the library, they don't have an instance name that I can refer to. Is there a way to give them an instance name in action script?
Thanks for any help with this!
create an icon instance that you assign the icon property of your MarkerOptions. you can reference that instance in mouse listeners etc.
Thanks! Do you mind sending some code showing this?
var icon1:IconClass=new IconClass();
var marker:Marker = new Marker(....new MarkerObject(icon:icon1,...));