Create a map application based on ArcGIS Server's Javascript API and Flex API