Tim Walling

technology is good

Flex 2 Yahoo Maps updated

4 comments

I’ve updated my Yahoo Maps application to use the latest version of FlashInterface. Robert re-worked the API a bit so it’s even easier to use and requires less coding. I’ll try to post the source tonight. See my earlier post for more details on what this Flex 2 / Flash 8 Yahoo Maps application is all about.

One downfall to this approach of using Yahoo Maps in a Flex 2 app is the fact that you have to code a Flash 8 SWF which exposes all of the functionality of the Yahoo Maps component. Now that Robert has released SWFAdapter, I’d like to see if it’s possible to use the same SWF that the Yahoo Javascript-Flash API uses. After a little digging around in the javascript I noticed that a SWF is loaded and then talked to via a javascript API. By looking through all of the code I’m guessing one could use SWFAdapter to make all of the same calls on that SWF. I’m not sure if this goes against anything in the Yahoo Maps terms of use so I’ll have to read that over some more before I release anything for distribution.

Written by Tim

December 12th, 2006 at 11:08 am

Posted in Flash, Flex

4 Responses to 'Flex 2 Yahoo Maps updated'

Subscribe to comments with RSS or TrackBack to 'Flex 2 Yahoo Maps updated'.

  1. Any time line for the “Yahoo Maps application ” source? Thanks, look good so far..

    billy

    24 Jan 07 at 2:40 pm

  2. Sorry, I got a little sidetracked. I’ll try to put up something soon.

    Tim

    24 Jan 07 at 2:43 pm

  3. I figured out some of it – now I’ve just got to figure out how I can get it to map a whole dataset of addresses at the same time.

    John

    2 Feb 07 at 4:24 pm

  4. [...] I played around with this a while back going with the ExternalInterface approach. I’ve since dumped that approach in favor of using LocalConnection. I’ve encapsulated all the communication into a Flex 2 component which you can just drop into your Flex application. I’m going to be finishing up a few things on it this weekend after which I’ll release the component, along with source. I’m posting a preview of it now to see how much interest there is in the project. The first release of the component will only expose the most common API elements and then I’ll plan out a roadmap for adding more of the Flex 1.5 API. [...]

Leave a Reply