4 Replies Latest reply on Jul 19, 2006 9:18 AM by MnWild

    Yahoo Maps for Flex 2?

      I'm trying to do a little trial with Flex and the Yahoo Map API but I'm getting no place. I'm assuming I've got the old extension for Flex 1.5 but I'm not sure.

      I see one of the derby winners used it so I'm assuming it works in 2.0 now somehow.

      I'm getting this error with this simple app and I do have the YahooMap.swc file in my application root folder:

      1046: Type was not found or was not a compile-time constant: YahooMap

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns:yahoo="com.yahoo.maps.api.flex.*" xmlns:local="*" xmlns="*" >
      <yahoo:YahooMap id="myMap" width="550" height="400"
      zoomLevel="3" latitude="37.77159" longitude="-122.401714"
      initialize="onInitialize(event);" />

      Thank you for the help.