 			
 			const toleranceBandName:String = (m_bandCount > 4) ? "band5" : "band4";
 			
-			if (m_bandOneLoader != null)
-				Sprite(this.getChildByName("band1")).removeChild(m_bandOneLoader);
-			if (m_bandTwoLoader != null)
-				Sprite(this.getChildByName("band2")).removeChild(m_bandOneLoader);
-			if (m_bandThreeLoader != null)
-				Sprite(this.getChildByName("band3")).removeChild(m_bandOneLoader);
-			if (m_bandFourLoader != null)
-				Sprite(this.getChildByName("band4")).removeChild(m_bandOneLoader);
-			if (m_bandToleranceLoader != null)
-				Sprite(this.getChildByName(toleranceBandName)).removeChild(m_bandToleranceLoader);
+			var bandObject:Sprite;
+			if (m_bandOneLoader != null) {
+				bandObject = Sprite(this.getChildByName("band1"));
+				bandObject.removeChild(m_bandOneLoader);
+			}
+			if (m_bandTwoLoader != null) {
+				bandObject = Sprite(this.getChildByName("band2"));
+				bandObject.removeChild(m_bandTwoLoader);
+			}
+			if (m_bandThreeLoader != null) {
+				bandObject = Sprite(this.getChildByName("band3"));
+				bandObject.removeChild(m_bandThreeLoader);
+			}
+			if (m_bandFourLoader != null) {
+				bandObject = Sprite(this.getChildByName("band4"));
+				bandObject.removeChild(m_bandFourLoader);
+			}
+			if (m_bandToleranceLoader != null) {
+				bandObject = Sprite(this.getChildByName(toleranceBandName));
+				bandObject.removeChild(m_bandToleranceLoader);
+			}
 		
 			//load image into Band1
 			m_bandOneLoader = new Loader(); 

			stage.addEventListener(MouseEvent.MOUSE_UP, probeQuery_handler);
			stage.addEventListener(Event.ENTER_FRAME, resistor_rollovers_right_handler);
			stage.addEventListener(Event.ENTER_FRAME, resistor_rollovers_left_handler);
			
			resistorOnBoard();
		}
		
		private function removed_from_stage_handler(evt:Event):void

	import Globe;
	
	//resistor 4 band

	public class ResistorBase extends DragItShift
	{
		private var m_bandCount:int;
