Share Posted January 10, 2013 private function loadFlv():void { _flvLoader = new VideoLoader(_flvPath, {name:"flvLoader", bgColor:_videoBgColor, autoPlay:false, container:_videoContainer, bufferMode:true, width:stage.stageWidth, height:stage.stageHeight, scaleMode:_scaleMode, volume:_vol, onprogress:progressHandler, onComplete:flvBufferComplete, onerror:videoErrorHandler}); _flvLoader.load(); } I'm calling this function to load an FLV. If the path is not found I'm calling videoErrorHandler. My question is - What should I be doing in that handler, if anything, to make sure I can call this function again and have the loader work. Say If I was using this in a video gallery. If by chance one video did not load I would still want the player to work with the next video selected. THANKS! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now