I don't understand , it's very weird. I just create a new project Flex with sdk 4.1.0, I add two libs (map_1_20.swc, map_flex_1_20.swc) and next I write this code manually:
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:maps="com.google.maps.*"> <fx:Script> <![CDATA[ import com.google.maps.MapEvent; protected function map1_mapevent_mappreinitializeHandler(event:MapEvent):void { // TODO Auto-generated method stub } ]]> </fx:Script> <s:Group> <maps:Map3D key="1234" id="map3D" sensor="false" mapevent_mappreinitialize="map1_mapevent_mappreinitializeHandler(event)"/> </s:Group> </s:Application> and I get this error: In the initializer 'mxmlContent' type com.google.maps.Map3D can not be assigned to target type Array or type of target element mx.core.IVisualElement. I don't understand... -- 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.
