Something like:
[Bindable] public var selectedClip:String;
private function loadClip():void
{
var url:String = "http://localhost:8500/iestate/images/
video/"+selectedClip;
trace(url);
}
<mx:Binding source="aDataGrid.selectedItem as String"
destination="selectedClip"/>
<mx:DataGrid id="aDataGrid" dataProvider="{ a_provider }"
width="100%" click="if (aDataGrid.selectedIndex != -1) loadClip()">
<mx:columns>
<mx:DataGridColumn width="100" dataField="a_clip"
headerText="Video URL"/>
</mx:columns>
</mx:DataGrid>
Cheers,
Simon
On 10 Aug 2008, at 12:29, stinasius wrote:
hi if you dont mind would please post a code snippet of how to go
about your solution?