I'm making a recording functionality of a webpage using SWFObject.js. When the start-recording button and stop-recording button is clicked each will invoke the startRecording()
and stopRecording()
function.
When my Javascript trying to invoke the ExternalInterface Callback, record()
and stop()
, IE browser is throwing a SCRIPT 16389 error. In other browsers the ExternalInterface Callback works just fine.
function startRecording() {
var myFlashMovie = document.getElementById("ie_video_recorder");
myFlashMovie.connect();
myFlashMovie.record();
}
function stopRecording() {
var myFlashMovie = document.getElementById("ie_video_recorder");
myFlashMovie.stop();
recordButton.disabled=true;
}
Is there anyone had the same problem before and know how to fix it?