 
 				// Upload next chunk
 				if (++chunk < chunks)
-					uploadNextChunk(multipart, chunk, chunks, chunk_size);
+					uploadNextChunk(multipart, chunk, chunks, chunk_size, postvars);
 				else {
 					// Fake UPLOAD_COMPLETE_DATA event
 					var uploadEvt:DataEvent = new DataEvent(


				req.requestHeaders.push(new URLRequestHeader("Content-Type", 'multipart/form-data; boundary=' + boundary));

				// Add header
				multipartBlob.writeUTFBytes(
					dashdash + boundary + crlf +
					'Content-Disposition: form-data; name="file"; filename="' + this._fileName + '"' + crlf +

						}

						// Start uploading the scaled down image
						uploadNextChunk(multipart, chunk, chunks, chunkSize, postvars);
					});

					loader.loadBytes(file._fileRef.data);
