FYI for anyone who comes across this...I made the following changes to the Locate widget to allow a search to be done from a URL like this - www.gisviewer.something.nz/?3453453 This will search for that valuation number when the viewer loads.var browserUrl:String = ExternalInterface.call("window.location.href.toString");
var urlArray:Array = browserUrl.split("?")
var locatefURL:String = urlArray[1];
singleAddressTextItem.text = locatefURL;
and then added a timer to the init()var exTimer:Timer = new Timer(1000, 1);
exTimer.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerComplete);
exTimer.start();
public function onTimerComplete(event:TimerEvent):void
{
locateIfAddressFieldInputValid();
}