Changeset 17 for trunk/as3/com/jeroenwijering/models/HTTPModel.as
- Timestamp:
- 06/23/08 18:46:08 (5 years ago)
- File:
-
- 1 edited
-
trunk/as3/com/jeroenwijering/models/HTTPModel.as (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/as3/com/jeroenwijering/models/HTTPModel.as
r13 r17 99 99 /** Load content. **/ 100 100 public function load() { 101 stream.close(); 101 if(stream.bytesLoaded != stream.bytesTotal) { 102 stream.close(); 103 } 102 104 var url = model.playlist[model.config['item']]['file']; 103 105 if(model.config["streamscript"] == "lighttpd") { … … 267 269 clearInterval(loadinterval); 268 270 clearInterval(timeinterval); 269 stream.close(); 271 if(stream.bytesLoaded != stream.bytesTotal) { 272 stream.close(); 273 } 270 274 offset = timeoffset = 0; 271 275 };
Note: See TracChangeset
for help on using the changeset viewer.
