actionscript 3 - Is there an FLVPlayback onHttpError? -


i'm able tell if image path file-not-found or not, because can attach loaders httpstatus. can't find similar flv (not using streaming).

edit - i'm trying do, although code doesn't work:

flv.addeventlistener(httpstatusevent.http_status, httpstatushandler); private function httpstatushandler(event:httpstatusevent):void {     if(event.status != 200){         console.error("video httpstatushandler.error: " + event.status, event);      } } flv.addeventlistener(ioerrorevent.io_error, ioerrorhandler); private function ioerrorhandler(event:ioerrorevent):void {     console.error("video ioerrorhandler: " + event);  } 

i found problem. doing: flv.load(path) flv.play()

by not waiting kind of status before calling play, squelching connectionerror status.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -