I am using a ComboBox to select subjects. When the ComboBox value
changes the 3D Map is given the following (inside the Switch
Statement):

comboBoxA.addEventListener(Event.CHANGE, specific);
        function specific(event:Event):void {
                switch(projectSpecific.selectedLabel){
                        case "Albertsons #171 Remodel":
                                mapA.flyTo(new LatLng(43.836070, -111.780473), 
17, wAttitude, 15);
                                mapA.addEventListener(MapEvent.FLY_TO_DONE, 
abs117Info);
                                        function 
abs117Info(event:MapEvent):void {
                                                mapA.openInfoWindow(new 
LatLng(43.836070, -111.780473),
 
mapAInfoWindowOptions);
                                        }

The infoWindow won't open. Here's the error:

TypeError: Error #1006: value is not a function.
        at MethodInfo-533()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at com.google.maps.wrappers::BaseEventDispatcher/dispatchEvent()
        at com.google.maps.wrappers::EventDispatcherWrapper/dispatchEvent()
        at com.google.maps.managers::PerspectiveTileManager/
checkTileLoadComplete()
        at com.google.maps.managers::PerspectiveTileManager/onEnterFrame()

I've tried different events to trigger the abs117Info Function (which
opens the infoWindow). I've even tried a timer. Am I missing something
that is blindingly obvious on this?

Thanks!

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