I have a function like this in actionscript3
private function uploadFile(event:MouseEvent):void {
var uploader:URLRequest = new URLRequest(serverUploadFile);
localFile.upload(uploader);
}
how can i call this function from javascript ?
thx