Once you have the feeding the data into the XMLConnector Component as the dataprovider for the Dataset Component and it set up as the data provider for your DataGrid Component You could do something like this..



// This is setup as an event handler for a button component
// _root.dhCurrentSelSite is a DataHolder component that I have bound
// to the currently selected row in my data grid. So when ever you select
// a row in the data grid it's values are dumped into the DataHolder.


function myHandler(eventObj){
if (eventObj.type == "click"){
theURL = new String(_root.dhCurrentSelSite.websiteURL);
if (theImageURL != undefined) {
} else {
getURL(theURL, "_blank")
}
}
}
button.addEventListener("click", myHandler);