The FlexMap project provides a component which allows a developer to use the Yahoo! Maps API in their Flex 2 projects. The solution brings together a Flash 8 SWF which contains the Flash API for Yahoo! Maps and a Flex 2 component which communicates to the SWF via LocalConnection. The Flex 2 component exposes similar properties, events and methods as the official Flex 1.5 component.
This project seems to be replaced by the the release of a map communication kit included in the Yahoo! AS3 API Libraries. It's recommended that this kit be used instead of FlexMap.