 			
 			return true;
 		}
-
-		/**
-		 * Cancels the upload of the current file.
-		 */
-		public function cancelUpload():void {
-			this._cancelled = true;
-		}
 	}
 }
				dispatchEvent(uploadEvt);*/

				urlStream.close();

				file._chunk++;
			});

			var urlStream:URLStream, url:String, file:File = this;

			// All chunks uploaded?
			if (this._chunk >= this._chunks) {
				// Clean up memory
				fileData.clear();
				urlStream.close();
				this._fileRef = null;
				this._imageData = null;

				return false;
			}

			// Slice out a chunk
			chunkData = new ByteArray();
