2 Replies Latest reply on May 19, 2009 6:15 AM by Richard_Abbott

    Getting Type was not found as error-- Using Google Maps API in Flex

    raaz3686

      Hi,


      I am getting this following error for this code.

       

      Please refer this example:

      http://blog.flexcommunity.net/?p=49


      I am  getting around 6 errors stating as “Type was not found or was not a compile time  constant: MapEvent”

      I have  named the files as FlexAPIGoogleMaps.mxml and the ActionScript as MapsEvent.as.

       

      I  registered in Google for API key and inserted that in API and added flex.swc in  the library using properties.


      Still getting the same error.