Shannaka,
I am on my way to the developer summit in California, but I will put something together soon. Are you thinking a public variable that you can call from in this widgets code or what are you thinking.
public var selRelateURL:String; //Then add this line to the closeRelateWindow after the flyToSearch is set selRelateURL = flyToSearch.url.substring(0,flyToSearch.url.lastIndexOf("/")) + "/" + (rWindow.selectedRelateId - 1);
public function get selectedTableId():Number { return _rTableId; } protected function relateGrid_itemClickHandler(event:ListEvent):void { _rId = event.target.selectedItem.id; _rName = event.target.selectedItem.name; _rTableId = event.target.selectedItem.relatedTableId;