public void ActionMapcopyBind(coActionMap thisobj, coActionMap otherMap, string command)
     {
     if (otherMap.isObject())
         {
         Util._error("ActionMap::copyBind - \"" + otherMap + "\" is not an object!");
         return;
         }
     string bind = otherMap.getBinding(command);
     if (bind == "")
         return;
     string device = Util.getField(bind, 0);
     string action = Util.getField(bind, 1);
     string flags = otherMap.isInverted(device, action) ? "SDI" : "SD";
     string deadzone = otherMap.getDeadZone(device, action);
     float scale = otherMap.getScale(device, action);
     thisobj.bind(device, action, flags, deadzone, scale.AsString(), command);
     }