Hi Robert,
Thanks for the detailed response. My problem is that, if someone who uses our modified Flex Viewer is using maps with a different coordinate system that we do not know about in advance then from what you are saying, inside the Flex Viewer we cannot automatically transform the extent coordinates that we compute in our application (which are WEGS84) and pass in via substitution to the map's coordinate system. If I could interrogate the map's coordinate system then I presume I could use the geometry operations to transform the points, but I cannot see how to get at the map's coordinate system. It seems to be null (uin the Flash debugger), even after the base layers are added. I guess it is too late then anyway.
If none of the above is possible then I suppose I am restricted to the Web projection by modifying the setting of iextent in the MapManager as follows:
var wmextent:WebMercatorExtent = new WebMercatorExtent(Number(iextArray[0]), Number(iextArray[1]), Number(iextArray[2]), Number(iextArray[3]));
iextent = wmextent.extent;
This is what I have been doing as a workaround initially, but what I need is a more robust solution.
Cheers,
Chris