 			{
 				return;
 			}
-			var i : int = m_targets.length;
-			while (i--)
-			{
-				var target : BitmapResource = BitmapResource(m_targets[i]);
+			for each (var target : BitmapResource in m_targets)
+			{
 				target.setBytesLoaded(m_loader.bytesLoaded());
 				target.setBytesTotal(m_loader.bytesTotal());
 				target.updateProgress();

		***************************************************************************/
		protected function removeTarget(target:BitmapResource) : void
		{
			var i : int = m_targets.length;
			var numTargets : int = 0;
			var foundTarget : BitmapResource;
			
			while (i--)
			{
				foundTarget = m_targets[i];
				if (foundTarget == target)
				{
					m_targets[i] = null;
				}
				else if (foundTarget != null)
				{
					numTargets++;
				}
			}
	
			if (numTargets == 0)
			{
				m_loader.cancel();
			}

			
			for each (var target : BitmapResource in m_targets)
			{
				applyDataToTarget(target);
			}
			m_targets = null;
			
