I tried to adapt the example for creating custom map controls, but
there is a problem with the super statement in the overridden
function: "A super statement can be used only inside class instance
constructors".

that's my code:

                public function MyControl()
                {
                        super(new 
ControlPosition(ControlPosition.ANCHOR_TOP_RIGHT, 25,
25));

                }

                public override function initControlWithMap(map:IMap):void
                {
                        super(initControlWithMap(map));

                        createButton();
                }


--~--~---------~--~----~------------~-------~--~----~
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