Alex,
Oh I guess that it would have helped if you said that you where trying to do this using the SimpleInfoWinWidget. It uses whichever geometry is on top as it gets triggered by mouse events. Why not use the identify widget?
Would use the identify widget, but am taking advantage of your wonderful multiimagefield on these layersUnfortunately that is a problem. The Attachment Relate Info Window Widget is working with the graphics that are already in the map. To disable the graphics autoMoveToTop property you have to have access to the graphic when it is added to the map. Here is an untested workaround:
if (label == "your layers label") featureLayer.addEventListener(GraphicEvent.GRAPHIC_ADD, disableAutoTop); // this should be added right before map.addLayer(featureLayer);
private function disableAutoTop(event:GraphicEvent):void
{
event.graphic.autoMoveToTop = false;
}import com.esri.ags.events.GraphicEvent