http://developer.yahoo.com/maps/flash/flex...ingStarted.htmlThis documentation is completely incorrect for the latest version of your API.
import com.yahoo.maps.markers.CustomPOIMarker;
CustomPOIMarker is not a class provided in your library whatsoever. It looks like your documentation needs to be updated to reflect the current library.