Converting Lat and Long to Flash X and Y points

Can anyone help me take lat and long coordinates that I have in an xml file and convert them to x and y points in flash?