summaryrefslogtreecommitdiff
path: root/webcam/ru/inspirit/net/events/MultipartURLLoaderEvent.as
blob: 2b908556705704da265c6cdc8c989c5a620392fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package ru.inspirit.net.events 
{
	import flash.events.Event;
	
	/**
	 * MultipartURLLoader Event for async data prepare tracking
	 * @author Eugene Zatepyakin
	 */
	public class MultipartURLLoaderEvent extends Event
	{
		public static const DATA_PREPARE_PROGRESS:String = 'dataPrepareProgress';
		public static const DATA_PREPARE_COMPLETE:String = 'dataPrepareComplete';
		
		public var bytesWritten:uint = 0;
		public var bytesTotal:uint = 0;
		
		public function MultipartURLLoaderEvent(type:String, w:uint = 0, t:uint = 0) 
		{
			super(type);
			
			bytesTotal = t;
			bytesWritten = w;
		}
		
	}
	
}