Messing around with the ArcGIS Flex API.