     import org.concord.sparks.util.Assert;
     import org.concord.sparks.util.Geom;
 	import ComponentMultimeter;
+	import org.concord.sparks.JavaScript;
 	
     /*
      * Intended to be flexible enough to be used from multiple activities.

            
            imagePath = '../../../common/images/multimeter/dmm_centech'
            
            dial = container.dial
            container.dial.addEventListener(MouseEvent.MOUSE_DOWN, handleDialMouseDown);
            container.addEventListener(MouseEvent.MOUSE_MOVE, handleDialMouseMove);
            container.addEventListener(MouseEvent.MOUSE_UP, handleDialMouseUp);			

                dialSetting = label;
                container.dial.rotation = rotationMap[label];
                if (sendEvent) {
					JavaScript.instance().sendEvent("multimeter_dial", dialSetting);
                   //activity.getJavaScript().sendEvent("multimeter_dial", dialSetting);
                }
            }
        }
