Flex RemoteObject property using Action Script

public function searchBooks(srchString:String):void
{

var url:String = "http://localhost/audioData/index.php?srchTxt="+srchString;
var channel:AMFChannel = new AMFChannel("my-amfphp", url);
var channelSet:ChannelSet = new ChannelSet();
channelSet.addChannel(channel);
var ro:RemoteObject = new RemoteObject("amfphp");
ro.channelSet = channelSet;
// Specify the PHP class
ro.source = "AudioBooksData";
ro.showBusyCursor = true;

ro.addEventListener(FaultEvent.FAULT, searchFaultEvent);
ro.addEventListener(ResultEvent.RESULT, searchResultEvent);
ro.getAllDeatils();
}
public function searchResultEvent(e:ResultEvent):void
{
searchResult = e.result;
}
public function searchFaultEvent(e:FaultEvent):void
{
Alert.show(e.toString());
}