fires when selection in the FileSelector is changed
myFileSelector.attachEvent("onSelect", function(id){ // your code here });