This is my current code
_root.onEnterFrame = function ()
{
if (_root._xmouse - 310 < 0)
{
_root.locationClipXE.text = “W”;
} else {
_root.locationClipXE.text = “E”;
}
if (_root._ymouse - 290 < 0)
{
_root.locationClipYN.text = "N";
} else {
_root.locationClipYN.text = "S";
}
{
_root.locationClipX.text = “” + _root._xmouse - 310;
_root.locationClipY.text = “” + _root._ymouse - 290;
}
}
What I am trying to accomplish is I have a map og the globe and when you move your cursor I want the Long & Lat. I needed to enter negative values to center the Prime Meridean and the equator in their correct locations. Using this code I have been able to generate bot a Direction (N,E,S,W) and a corresponding number for each direction. However for every N,W direction the number is a ngative value. All help ywould be great.