I'm trying to take the code found here and transfer it to wrk from a widget. USing it as is creates a map in the location of the widget which does create the desired infowindow etc. However I'd like to click on the main map and have the infowindow returned. Any ideas on what I need to do here? Sorry if this seems pretty basic or easy I'm fairly new at flex. http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=MapClick