You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2018. It is now read-only.
var Flash = {
/* Flash.getFileData() is called after the file has been read /
getFileData: function(base64) {
showResult(base64)
},
/ getButtonLabel() permits to define another label for the "Load a file" button in the Flash version */
getButtonLabel: function() {
return "Load a file";
}
};
function showResult(b) {
$('#file-result').text(b)
}
var Flash = {
/* Flash.getFileData() is called after the file has been read /
getFileData: function(base64) {
showResult(base64)
},
/ getButtonLabel() permits to define another label for the "Load a file" button in the Flash version */
getButtonLabel: function() {
return "Load a file";
}
};
function showResult(b) {
$('#file-result').text(b)
}
unable to get binary data on showresult function
below reference added to code:
swfobject.embedSWF("../Content/FileToDataURI.swf", "file-object", "200px", "90px", "10", "../Content/expressInstall.swf", {}, {}, {});//}
and below 3 files are refereed;
Content/FileToDataURI.swf
../Content/expressInstall.swf
../Scripts/swfobject.js" refered as javascript link in page