 	import flash.geom.Point;
 	import flash.geom.Rectangle;
 	
+	import mxi.events.OProgressEvent;
 	import mxi.image.ascb.filters.ColorMatrixArrays;
 	import mxi.image.ascb.filters.ConvolutionMatrixArrays;
-	import mxi.events.OProgressEvent;
 	
 	
 	public class ImageEditor extends OEventDispatcher

				if (newScale < 0.5 || newScale > 2) {
					newScale = newScale < 0.5 ? 0.5 : 2;
				}
				
				// special care for default scaling method
				if (resample == 'deafult') {
					_matrix.scale(newScale, newScale);
					onOperationComplete();
					draw();
					if (_bd.width <= dstWidth) {
						onDrawComplete();
					} else {
						dispatchEvent(new OProgressEvent(OProgressEvent.PROGRESS, step++, totalSteps));

		
		
		protected function _scale(scale:Number, resample:String = 'default', multiStep:Boolean = true) : void
		{					
			if (!_bd) {
				_bd = _bdOriginal.clone();
			}
