phalangie9
July 20th, 2009, 11:06 AM
I am in big trouble. I have a project that was already supposed to be launched. It tested fine on my computer, but is throwing an error on other browsers....and I cannot figure out how to catch the error! I have been reading and trying everything, but nothing is working!!!
I captioned a video using components, but the captions are stored in the video and the source then is "0". Flash doesn't understand "0", but the captions still work. I need Flash to ignore the error so it stops crashing the browsers!! Any help would be so greatly appreciated!!
This is my error:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///Macintosh%20HD/Users/angie/Desktop/standards/Web%20Files/Clarence%20Open/0
This is the code throwing the error:
import fl.video.FLVPlayback;
import fl.video.FLVPlaybackCaptioning;
var vid:FLVPlayback = new FLVPlayback();
var vidCapOpen:FLVPlaybackCaptioning = new FLVPlaybackCaptioning();
vid.source = "scienceOpen.flv";
addChild(vid);
addChild(vidCapOpen);
vidCapOpen.autoLayout = false;
vidCapOpen.source = "0";
vidCapOpen.showCaptions = true;
This is what I already tried (found on another thread):
var loader:URLLoader = new URLLoader();
loader.addEventListener(IOErrorEvent.IO_ERROR, catchIOError);
function catchIOError(event:IOErrorEvent){
trace("Error caught: "+event.type);
}
loader.load(new URLRequest("Invalid XML URL"));
trace("Continuing with script...");
I captioned a video using components, but the captions are stored in the video and the source then is "0". Flash doesn't understand "0", but the captions still work. I need Flash to ignore the error so it stops crashing the browsers!! Any help would be so greatly appreciated!!
This is my error:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///Macintosh%20HD/Users/angie/Desktop/standards/Web%20Files/Clarence%20Open/0
This is the code throwing the error:
import fl.video.FLVPlayback;
import fl.video.FLVPlaybackCaptioning;
var vid:FLVPlayback = new FLVPlayback();
var vidCapOpen:FLVPlaybackCaptioning = new FLVPlaybackCaptioning();
vid.source = "scienceOpen.flv";
addChild(vid);
addChild(vidCapOpen);
vidCapOpen.autoLayout = false;
vidCapOpen.source = "0";
vidCapOpen.showCaptions = true;
This is what I already tried (found on another thread):
var loader:URLLoader = new URLLoader();
loader.addEventListener(IOErrorEvent.IO_ERROR, catchIOError);
function catchIOError(event:IOErrorEvent){
trace("Error caught: "+event.type);
}
loader.load(new URLRequest("Invalid XML URL"));
trace("Continuing with script...");