Problem converting Lat and Long points to X and Y

I have an xml file that is holding LAT and LONG for a map that I am creating, I am trying to translate those into X and Y coordinates. I have put together the code below to plot these points. Now, I have my Map as one MC on the Stage and then I have a MC on top of that for the points to be placed in. My problem seems to be when the points are placed in the MC the points are translating more to the Stage then the MC. The points end up way off to the right and down. I don’t know if I am explaining this very well, but if anyone can help I would appreciate it. Also since this is a work project, I cannot post the FLA.


Min_Longitude = -92.580544;
Max_Longitude = -92.960503;
Min_Latitude = 38.005100;
Max_Latitude = 38.462601;

var xml = new XML();
xml.ignoreWhite = true;
Root = this
xml.onLoad = function(success){
 if(success){
  loading._visible = false
  numOfLocs = this.firstChild.childNodes.length;
  
 for (i=0; i<numOfLocs; i++) {
 varStatus = this.firstChild.childNodes*.childNodes[0].firstChild.nodeValue;
 varName = this.firstChild.childNodes*.childNodes[3].firstChild.nodeValue;
 XLoc = this.firstChild.childNodes*.childNodes[15].firstChild.nodeValue;
 YLoc = this.firstChild.childNodes*.childNodes[16].firstChild.nodeValue;
 
Desired_Latitude = XLoc
Desired_Longitude = YLoc
 
var clip =Root.Points.attachMovie("rejectMC", varName, i);
clip.ivar = varName;
 
clip._x = Points._x + (Desired_Longitude - Min_Longitude) / (Max_Longitude - Min_Longitude) * Points._width;
clip._y = Points._y + Points._height - (Desired_Latitude - Min_Latitude) / (Max_Latitude - Min_Latitude) * Points._height;
}
 }else{
  trace("Error");
 }
};
xml.load("[XMLFILE](http://compass/clfr/Metrics_copy(1)/new%20pages/LakeOfTheOzarks/OzarksXML.xml)");