5 Replies Latest reply on May 14, 2014 5:29 AM by Gonterman1201

    Broken Buttons in CC

    Gonterman1201 Level 1

      I have a UI that I have built using the sprite technique. It moves the image up and down inside the window on button click. it works fine up until cc. Its weird because When I click in some of the other fields the buttons eventually change to what was pressed. If I had to guess I would say it maybe the structure of the way this is written but I am not sure. It may not be fixable at all. The script is big so I am just going to post part of it. If anyone is haveing similar problems please share.

       

      var radioBox= myInputGroup.add ("group");
           radioBox.minimumSize.width = 112;
          var radioSize= radioBox.add ("group");
          radioSize.orientation="column";
          radioBox.orientation="row";
            V_SPRITES = 2;
           var dy;
            countSilk=1;
            countLith=0;
      var mySilkBut =radioSize.add('image', undefined, pngButton, {state:0}),
          iSize =mySilkBut.image.size,
          spriteHeight = iSize[1] / V_SPRITES;
      
      mySilkBut.size = [iSize[0], spriteHeight];
      mySilkBut .onDraw = function(){
          //find even on odd on the count
          if(countSilk%2==0){
              dy=0;
              }
          else{dy=22
              }
          this.graphics.drawImage(this.image,0,-dy,17,39);
      };
      var myLithBut =radioSize.add('image', undefined, pngButton, {state:0}),
          iSize =myLithBut .image.size,
          spriteHeight = iSize[1] / V_SPRITES;    
      myLithBut .size = [iSize[0], spriteHeight];
      myLithBut .onDraw = function(){
          //find even on odd on the count
          if(countLith%2==0){
              dy=0;
              }
          else{dy=22
              }
          this.graphics.drawImage(this.image,0,-dy,17,39);
      };
      
      var textSize= radioBox.add ("group");
          textSize.orientation="column";
      var mySevenTxt=textSize.add ("statictext", undefined, "SILKSCREEN");
      var myEightTxt=textSize.add ("statictext", undefined, "LITHO");
      myEightTxt.alignment=["left","top"];
      mySevenTxt.graphics.font = "dialog:14";
      myEightTxt.graphics.font = "dialog:14";
      var mouseEventHandler = function(ev){
          mypoo=this.properties.state = ('click'==ev.type);
         countSilk=1;
         countLith=0;
          this.parent.layout.layout(true);
      };
      var mouseEventHandlerE = function(ev){
          mypoo2=this.properties.state = ('click'==ev.type);
         countSilk=0;
         countLith=1;
          this.parent.layout.layout(true);
      };
      
      mySilkBut .addEventListener('click', mouseEventHandler);
      myLithBut .addEventListener('click', mouseEventHandlerE);
      
      
      

      Screen shot 2013-11-05 at 7.19.17 AM.png

        • 1. Re: Broken Buttons in CC
          Gonterman1201 Level 1

          Simpilar example that worked in CS6 that does not work in CC at all.

          app.scriptPreferences.version = 6.0; 
          var pngButton="\u0089PNG\r\n\x1A\n\x00\x00\x00\rIHDR\x00\x00\x00\x12\x00\x00\x00(\b\x06\x00\x00\x01\u0084(\u009A\n\x00\x00\x00\tpHYs\x00\x00\x0B\x13\x00\x00\x0B\x13\x01\x00\u009A\u009C\x18\x00\x00\nOiCCPPhotoshop ICC profile\x00\x00x\u00DA\u009DSgTS\u00E9\x16=\u00F7\u00DE\u00F4BK\u0088\u0080\u0094KoR\x15\b RB\u008B\u0080\x14\u0091&*!\t\x10J\u0088!\u00A1\u00D9\x15Q\u00C1\x11EE\x04\x1B\u00C8\u00A0\u0088\x03\u008E\u008E\u0080\u008C\x15Q,\f\u008A\n\u00D8\x07\u00E4!\u00A2\u008E\u0083\u00A3\u0088\u008A\u00CA\u00FB\u00E1{\u00A3k\u00D6\u00BC\u00F7\u00E6\u00CD\u00FE\u00B5\u00D7>\u00E7\u00AC\u00F3\u009D\u00B3\u00CF\x07\u00C0\b\f\u0096H3Q5\u0080\f\u00A9B\x1E\x11\u00E0\u0083\u00C7\u00C4\u00C6\u00E1\u00E4.@\u0081\n$p\x00\x10\b\u00B3d!s\u00FD#\x01\x00\u00F8~<<+\"\u00C0\x07\u00BE\x00\x01x\u00D3\x0B\b\x00\u00C0M\u009B\u00C00\x1C\u0087\u00FF\x0F\u00EAB\u0099\\\x01\u0080\u0084\x01\u00C0t\u00918K\b\u0080\x14\x00@z\u008EB\u00A6\x00@F\x01\u0080\u009D\u0098&S\x00\u00A0\x04\x00`\u00CBcb\u00E3\x00P-\x00`'\x7F\u00E6\u00D3\x00\u0080\u009D\u00F8\u0099{\x01\x00[\u0094!\x15\x01\u00A0\u0091\x00 \x13e\u0088D\x00h;\x00\u00AC\u00CFV\u008AE\x00X0\x00\x14fK\u00C49\x00\u00D8-\x000IWfH\x00\u00B0\u00B7\x00\u00C0\u00CE\x10\x0B\u00B2\x00\b\f\x000Q\u0088\u0085)\x00\x04{\x00`\u00C8##x\x00\u0084\u0099\x00\x14F\u00F2W<\u00F1+\u00AE\x10\u00E7*\x00\x00x\u0099\u00B2<\u00B9$9E\u0081[\b-q\x07WW.\x1E(\u00CEI\x17+\x146a\x02a\u009A@.\u00C2y\u0099\x192\u00814\x0F\u00E0\u00F3\u00CC\x00\x00\u00A0\u0091\x15\x11\u00E0\u0083\u00F3\u00FDx\u00CE\x0E\u00AE\u00CE\u00CE6\u008E\u00B6\x0E_-\u00EA\u00BF\x06\u00FF\"bb\u00E3\u00FE\u00E5\u00CF\u00ABp@\x00\x00\u00E1t~\u00D1\u00FE,/\u00B3\x1A\u0080;\x06\u0080m\u00FE\u00A2%\u00EE\x04h^\x0B\u00A0u\u00F7\u008Bf\u00B2\x0F@\u00B5\x00\u00A0\u00E9\u00DAW\u00F3p\u00F8~<<E\u00A1\u0090\u00B9\u00D9\u00D9\u00E5\u00E4\u00E4\u00D8J\u00C4B[a\u00CAW}\u00FEg\u00C2_\u00C0W\u00FDl\u00F9~<\u00FC\u00F7\u00F5\u00E0\u00BE\u00E2$\u00812]\u0081G\x04\u00F8\u00E0\u00C2\u00CC\u00F4L\u00A5\x1C\u00CF\u0092\t\u0084b\u00DC\u00E6\u008FG\u00FC\u00B7\x0B\u00FF\u00FC\x1D\u00D3\"\u00C4Ib\u00B9X*\x14\u00E3Q\x12q\u008ED\u009A\u008C\u00F32\u00A5\"\u0089B\u0092)\u00C5%\u00D2\u00FFd\u00E2\u00DF,\u00FB\x03>\u00DF5\x00\u00B0j>\x01{\u0091-\u00A8]c\x03\u00F6K'\x10Xt\u00C0\u00E2\u00F7\x00\x00\u00F2\u00BBo\u00C1\u00D4(\b\x03\u0080h\u0083\u00E1\u00CFw\u00FF\u00EF?\u00FDG\u00A0%\x00\u0080fI\u0092q\x00\x00^D$.T\u00CA\u00B3?\u00C7\b\x00\x00D\u00A0\u0081*\u00B0A\x1B\u00F4\u00C1\x18,\u00C0\x06\x1C\u00C1\x05\u00DC\u00C1\x0B\u00FC`6\u0084B$\u00C4\u00C2B\x10B\nd\u0080\x1Cr`)\u00AC\u0082B(\u0086\u00CD\u00B0\x1D*`/\u00D4@\x1D4\u00C0Qh\u0086\u0093p\x0E.\u00C2U\u00B8\x0E=p\x0F\u00FAa\b\u009E\u00C1(\u00BC\u0081\t\x04A\u00C8\b\x13a!\u00DA\u0088\x01b\u008AX#\u008E\b\x17\u0099\u0085\u00F8!\u00C1H\x04\x12\u008B$ \u00C9\u0088\x14Q\"K\u00915H1R\u008AT UH\x1D\u00F2=r\x029\u0087\\F\u00BA\u0091;\u00C8\x002\u0082\u00FC\u0086\u00BCG1\u0094\u0081\u00B2Q=\u00D4\f\u00B5C\u00B9\u00A87\x1A\u0084F\u00A2\x0B\u00D0dt1\u009A\u008F\x16\u00A0\u009B\u00D0r\u00B4\x1A=\u008C6\u00A1\u00E7\u00D0\u00ABh\x0F\u00DA\u008F>C\u00C70\u00C0\u00E8\x18\x073\u00C4l0.\u00C6\u00C3B\u00B18,\t\u0093c\u00CB\u00B1\"\u00AC\f\u00AB\u00C6\x1A\u00B0V\u00AC\x03\u00BB\u0089\u00F5c\u00CF\u00B1w\x04\x12\u0081E\u00C0\t6\x04wB a\x1EAHXLXN\u00D8H\u00A8 \x1C$4\x11\u00DA\t7\t\x03\u0084Q\u00C2'\"\u0093\u00A8K\u00B4&\u00BA\x11\u00F9\u00C4\x18b21\u0087XH,#\u00D6\x12\u008F\x13/\x10{\u0088C\u00C47$\x12\u0089C2'\u00B9\u0090\x02I\u00B1\u00A4T\u00D2\x12\u00D2F\u00D2nR#\u00E9,\u00A9\u009B4H\x1A#\u0093\u00C9\u00DAdk\u00B2\x079\u0094, +\u00C8\u0085\u00E4\u009D\u00E4\u00C3\u00E43\u00E4\x1B\u00E4!\u00F2[\n\u009Db@q\u00A4\u00F8S\u00E2(R\u00CAjJ\x19\u00E5\x10\u00E54\u00E5\x06e\u00982AU\u00A3\u009AR\u00DD\u00A8\u00A1T\x115\u008FZB\u00AD\u00A1\u00B6R\u00AFQ\u0087\u00A8\x134u\u009A9\u00CD\u0083\x16IK\u00A5\u00AD\u00A2\u0095\u00D3\x1Ah\x17h\u00F7i\u00AF\u00E8t\u00BA\x11\u00DD\u0095\x1EN\u0097\u00D0W\u00D2\u00CB\u00E9G\u00E8\u0097\u00E8\x03\u00F4w\f\r\u0086\x15\u0083\u00C7\u0088g(\x19\u009B\x18\x07\x18g\x19w\x18\u00AF\u0098L\u00A6\x19\u00D3\u008B\x19\u00C7T071\u00EB\u0098\u00E7\u0099\x0F\u0099oUX*\u00B6*|\x15\u0091\u00CA\n\u0095J\u0095&\u0095\x1B*/T\u00A9\u00AA\u00A6\u00AA\u00DE\u00AA\x0BU\u00F3U\u00CBT\u008F\u00A9^S}\u00AEFU3S\u00E3\u00A9\t\u00D4\u0096\u00ABU\u00AA\u009DP\u00EBS\x1BSg\u00A9;\u00A8\u0087\u00AAg\u00A8oT?\u00A4~Y\u00FD\u0089\x06Y\u00C3L\u00C3OC\u00A4Q\u00A0\u00B1_\u00E3\u00BC\u00C6 \x0Bc\x19\u00B3x,!k\r\u00AB\u0086u\u00815\u00C4&\u00B1\u00CD\u00D9|v*\u00BB\u0098\u00FD\x1D\u00BB\u008B=\u00AA\u00A9\u00A19C3J3W\u00B3R\u00F3\u0094f?\x07\u00E3\u0098q\u00F8\u009CtN\t\u00E7(\u00A7\u0097\u00F3~\u008A\u00DE\x14\u00EF)\u00E2)\x1B\u00A64L\u00B91e\\k\u00AA\u0096\u0097\u0096X\u00ABH\u00ABQ\u00ABG\u00EB\u00BD6\u00AE\u00ED\u00A7\u009D\u00A6\u00BDE\u00BBY\u00FB\u0081\x0EA\u00C7J'\\'Gg\u008F\u00CE\x05\u009D\u00E7S\u00D9S\u00DD\u00A7\n\u00A7\x16M=:\u00F5\u00AE.\u00AAk\u00A5\x1B\u00A1\u00BBDw\u00BFn\u00A7\u00EE\u0098\u009E\u00BE^\u0080\u009ELo\u00A7\u00DEy\u00BD\u00E7\u00FA\x1C}/\u00FDT\u00FDm\u00FA\u00A7\u00F5G\fX\x06\u00B3\f$\x06\u00DB\f\u00CE\x18<\u00C55qo<\x1D/\u00C7\u00DB\u00F1QC]\u00C3@C\u00A5a\u0095a\u0097\u00E1\u0084\u0091\u00B9\u00D1<\u00A3\u00D5F\u008DF\x0F\u008Ci\u00C6\\\u00E3$\u00E3m\u00C6m\u00C6\u00A3&\x06&!&KM\u00EAM\u00EE\u009ARM\u00B9\u00A6)\u00A6;L;L\u00C7\u00CD\u00CC\u00CD\u00A2\u00CD\u00D6\u00995\u009B=1\u00D72\u00E7\u009B\u00E7\u009B\u00D7\u009B\u00DF\u00B7`ZxZ,\u00B6\u00A8\u00B6\u00B8eI\u00B2\u00E4Z\u00A6Y\u00EE\u00B6\u00BCn\u0085Z9Y\u00A5XUZ]\u00B3F\u00AD\u009D\u00AD%\u00D6\u00BB\u00AD\u00BB\u00A7\x11\u00A7\u00B9N\u0093N\u00AB\u009E\u00D6g\u00C3\u00B0\u00F1\u00B6\u00C9\u00B6\u00A9\u00B7\x19\u00B0\u00E5\u00D8\x06\u00DB\u00AE\u00B6m\u00B6}agb\x17g\u00B7\u00C5\u00AE\u00C3\u00EE\u0093\u00BD\u0093}\u00BA}\u008D\u00FD=\x07\r\u0087\u00D9\x0E\u00AB\x1DZ\x1D~s\u00B4r\x14:V:\u00DE\u009A\u00CE\u009C\u00EE?}\u00C5\u00F4\u0096\u00E9/gX\u00CF\x10\u00CF\u00D83\u00E3\u00B6\x13\u00CB)\u00C4i\u009DS\u009B\u00D3Gg\x17g\u00B9s\u0083\u00F3\u0088\u008B\u0089K\u0082\u00CB.\u0097>.\u009B\x1B\u00C6\u00DD\u00C8\u00BD\u00E4Jt\u00F5q]\u00E1z\u00D2\u00F5\u009D\u009B\u00B3\u009B\u00C2\u00ED\u00A8\u00DB\u00AF\u00EE6\u00EEi\u00EE\u0087\u00DC\u009F\u00CC4\u009F)\u009EY3s\u00D0\u00C3\u00C8C\u00E0Q\u00E5\u00D1?\x0B\u009F\u00950k\u00DF\u00AC~OCO\u0081g\u00B5\u00E7#/c/\u0091W\u00AD\u00D7\u00B0\u00B7\u00A5w\u00AA\u00F7a\u00EF\x17>\u00F6>r\u009F\u00E3>\u00E3<7\u00DE2\u00DEY_\u00CC7\u00C0\u00B7\u00C8\u00B7\u00CBO\u00C3o\u009E_\u0085\u00DFC\x7F#\u00FFd\u00FFz\u00FF\u00D1\x00\u00A7\u0080%\x01g\x03\u0089\u0081A\u0081[\x02\u00FB\u00F8z|!\u00BF\u008E?:\u00DBe\u00F6\u00B2\u00D9\u00EDA\u008C\u00A0\u00B9A\x15A\u008F\u0082\u00AD\u0082\u00E5\u00C1\u00AD!h\u00C8\u00EC\u0090\u00AD!\u00F7\u00E7\u0098\u00CE\u0091\u00CEi\x0E\u0085P~\u00E8\u00D6\u00D0\x07a\u00E6a\u008B\u00C3~\f'\u0085\u0087\u0085W\u0086?\u008Ep\u0088X\x1A\u00D11\u00975w\u00D1\u00DCCs\u00DFD\u00FAD\u0096D\u00DE\u009Bg1O9\u00AF-J5*>\u00AA.j<\u00DA7\u00BA4\u00BA?\u00C6.fY\u00CC\u00D5X\u009DXIlK\x1C9.*\u00AE6nl\u00BE\u00DF\u00FC\u00ED\u00F3\u0087\u00E2\u009D\u00E2\x0B\u00E3{\x17\u0098/\u00C8]py\u00A1\u00CE\u00C2\u00F4\u0085\u00A7\x16\u00A9.\x12,:\u0096@L\u0088N8\u0094\u00F0A\x10*\u00A8\x16\u008C%\u00F2\x13w%\u008E\ny\u00C2\x1D\u00C2g\"/\u00D16\u00D1\u0088\u00D8C\\*\x1EN\u00F2H*Mz\u0092\u00EC\u0091\u00BC5y$\u00C53\u00A5,\u00E5\u00B9\u0084'\u00A9\u0090\u00BCL\rL\u00DD\u009B:\u009E\x16\u009Av m2=:\u00BD1\u0083\u0092\u0091\u0090qB\u00AA!M\u0093\u00B6g\u00EAg\u00E6fv\u00CB\u00ACe\u0085\u00B2\u00FE\u00C5n\u008B\u00B7/\x1E\u0095\x07\u00C9k\u00B3\u0090\u00AC\x05Y-\n\u00B6B\u00A6\u00E8TZ(\u00D7*\x07\u00B2geWf\u00BF\u00CD\u0089\u00CA9\u0096\u00AB\u009E+\u00CD\u00ED\u00CC\u00B3\u00CA\u00DB\u00907\u009C\u00EF\u009F\u00FF\u00ED\x12\u00C2\x12\u00E1\u0092\u00B6\u00A5\u0086KW-\x1DX\u00E6\u00BD\u00ACj9\u00B2<qy\u00DB\n\u00E3\x15\x05+\u0086V\x06\u00AC<\u00B8\u008A\u00B6*m\u00D5O\u00AB\u00EDW\u0097\u00AE~\u00BD&zMk\u0081^\u00C1\u00CA\u0082\u00C1\u00B5\x01k\u00EB\x0BU\n\u00E5\u0085}\u00EB\u00DC\u00D7\u00ED]OX/Y\u00DF\u00B5a\u00FA\u0086\u009D\x1B>\x15\u0089\u008A\u00AE\x14\u00DB\x17\u0097\x15\x7F\u00D8(\u00DCx\u00E5\x1B\u0087o\u00CA\u00BF\u0099\u00DC\u0094\u00B4\u00A9\u00AB\u00C4\u00B9d\u00CFf\u00D2f\u00E9\u00E6\u00DE-\u009E[\x0E\u0096\u00AA\u0097\u00E6\u0097\x0En\r\u00D9\u00DA\u00B4\r\u00DFV\u00B4\u00ED\u00F5\u00F6E\u00DB/\u0097\u00CD(\u00DB\u00BB\u0083\u00B6C\u00B9\u00A3\u00BF<\u00B8\u00BCe\u00A7\u00C9\u00CE\u00CD;?T\u00A4T\u00F4T\u00FAT6\u00EE\u00D2\u00DD\u00B5a\u00D7\u00F8n\u00D1\u00EE\x1B{\u00BC\u00F64\u00EC\u00D5\u00DB[\u00BC\u00F7\u00FD>\u00C9\u00BE\u00DBU\x01UM\u00D5f\u00D5e\u00FBI\u00FB\u00B3\u00F7?\u00AE\u0089\u00AA\u00E9\u00F8\u0096\u00FBm]\u00ADNmq\u00ED\u00C7\x03\u00D2\x03\u00FD\x07#\x0E\u00B6\u00D7\u00B9\u00D4\u00D5\x1D\u00D2=TR\u008F\u00D6+\u00EBG\x0E\u00C7\x1F\u00BE\u00FE\u009D\u00EFw-\r6\rU\u008D\u009C\u00C6\u00E2#pDy\u00E4\u00E9\u00F7\t\u00DF\u00F7\x1E\r:\u00DAv\u008C{\u00AC\u00E1\x07\u00D3\x1Fv\x1Dg\x1D/jB\u009A\u00F2\u009AF\u009BS\u009A\u00FB[b[\u00BAO\u00CC>\u00D1\u00D6\u00EA\u00DEz\u00FCG\u00DB\x1F\x0F\u009C4<YyJ\u00F3T\u00C9i\u00DA\u00E9\u0082\u00D3\u0093g\u00F2\u00CF\u008C\u009D\u0095\u009D}~.\u00F9\u00DC`\u00DB\u00A2\u00B6{\u00E7c\u00CE\u00DFj\x0Fo\u00EF\u00BA\x10t\u00E1\u00D2E\u00FF\u008B\u00E7;\u00BC;\u00CE\\\u00F2\u00B8t\u00F2\u00B2\u00DB\u00E5\x13W\u00B8W\u009A\u00AF:_m\u00EAt\u00EA<\u00FE\u0093\u00D3O\u00C7\u00BB\u009C\u00BB\u009A\u00AE\u00B9\\k\u00B9\u00EEz\u00BD\u00B5{f\u00F7\u00E9\x1B\u009E7\u00CE\u00DD\u00F4\u00BDy\u00F1\x16\u00FF\u00D6\u00D5\u009E9=\u00DD\u00BD\u00F3zo\u00F7\u00C5\u00F7\u00F5\u00DF\x16\u00DD~r'\u00FD\u00CE\u00CB\u00BB\u00D9w'\u00EE\u00AD\u00BCO\u00BC_\u00F4@\u00EDA\u00D9C\u00DD\u0087\u00D5?[\u00FE\u00DC\u00D8\u00EF\u00DC\x7Fj\u00C0w\u00A0\u00F3\u00D1\u00DCG\u00F7\x06\u0085\u0083\u00CF\u00FE\u0091\u00F5\u008F\x0FC\x05\u008F\u0099\u008F\u00CB\u0086\r\u0086\u00EB\u009E8>99\u00E2?r\u00FD\u00E9\u00FC\u00A7C\u00CFd\u00CF&\u009E\x17\u00FE\u00A2\u00FE\u00CB\u00AE\x17\x16/~\u00F8\u00D5\u00EB\u00D7\u00CE\u00D1\u0098\u00D1\u00A1\u0097\u00F2\u0097\u0093\u00BFm|\u00A5\u00FD\u00EA\u00C0\u00EB\x19\u00AF\u00DB\u00C6\u00C2\u00C6\x1E\u00BE\u00C9x31^\u00F4V\u00FB\u00ED\u00C1w\u00DCw\x1D\u00EF\u00A3\u00DF\x0FO\u00E4| \x7F(\u00FFh\u00F9\u00B1\u00F5S\u00D0\u00A7\u00FB\u0093\x19\u0093\u0093\u00FF\x04\x03\u0098\u00F3\u00FCc3-\u00DB\x00\x00\x00 cHRM\x00\x00z%\x00\x00\u0080\u0083\x00\x00\u00F9\u00FF\x00\x00\u0080\u00E9\x00\x00u0\x00\x00\u00EA`\x00\x00:\u0098\x00\x00\x17o\u0092_\u00C5F\x00\x00\n\u0087IDATx\u00DA\x00A\x00\u00BE\u00FF\x02\u00E6\u00E6\u00E6\x03\u00A4\u00A0\u00A3\u00FA\u00E6\u00E6\u00E6\x04\x02\u0091\u008C\u008F\u00FB=A>\x05\u00CD\u00CD\u00CD\u00FB\x02otq\x05\u00FF\u00FF\u00FF\x00333\n\x02\x19\x19\x19\u00FDbZ]\x00\x19\x19\x19\u00F7\x02-$)\u009A{\u009D\x06\x00!\x16\x1D\u00FF\x00\x00\x00\u00FF\u00FF\x00-\x00\u00D2\u00FF\x02\u00E6\u00E6\u00E6\x19\u00C1\u00BE\u00C0i\x02\u00E5\u00E5\u00E5\u00E6\x1D \x1E\u0096\x02\u00D4\u00D0\u00D2\u00B9\u00C7\u00C3\u00C5\u00FF\x02\u0080v}Gwls\x01\x02\u00F8d\r\x00P\u0099Y\x00\x00\x00\x00\u00FF\u00FF\x00i\x00\u0096\u00FF\x02\u00E5\u00E5\u00E5\x18\u00E7\u00E6\u00E7\u00FF\u00F8\u00F8\u00F8\u00FF\u00F0\u00F0\u00F0\u00FF\u0096\u0091\u0093\u00E4\x02\u00E4\u00E2\u00E33\u00F0\u00F1\u00F0\x00\u00F6\u00F6\u00F6\x00\u00FA\u00FA\u00FA\x00\u00D9\u00DA\u00DA\x1A\x02\x11\x13\x12\u00B5\x0F\x0F\x0F\x02\u00F8\u00F8\u00F8\x03\u00FC\u00FC\u00FC\x02kom\x02\x02ZSYKG\u00C4<\u00FE\u00C1\u00F90\u00FDA\u00DD.\u00FED7?\u00FF\x02\u00CB\u00D2\u00CC\u00B5\u00FC\u0088\u00F7\x00\u0089\u00B8\f\x00\x07x\b\x00!-#\x05\x00\u00AA\x00U\u00FF\x02\u00E6\u00E6\u00E6\x07\u009E\u0099\u009C\u00B6\u00A5\u00A0\u00A3\u00F2\u00E6\u00E6\u00E6\x10\x02\u00CD\u00CB\u00CC\u00F8X]ZIQVS\r\u00FB\u00FC\u00FB\u00EF\x02\x0F\x11\x10\x00\u00E2\u00E2\u00E2\x00\u00EB\u00EB\u00EB\x00\u00EF\u00EE\u00EF\x00\x02\x06\x06\x06\x00\x15\x15\x15\x00\f\f\f\x00\r\r\r\x00\x02\x1B\x1B\x1B\x12\u00CA\u00C8\u00C8\x00\u00EB\u00EA\u00EB\x00\u00FC\u00FB\u00FCS\x02\u00F7\u00F7\u00F7\u00EF/11\x02\x0E\x0F\x0E\x03\x01\x02\x01\u00AE\x02WQW\n='8\u00FEP=K\u00FDL@H\u00CF\x02\u00ED\u00E0\u00E7\u00F5#\u00BE\u00F8\x00W\u00B7\u00E5\x00\x04$\x030\x02\x00\x05\x01\x00\x16\u00CD\x1E\x00\x0E\u00E8\x1D\x00\u00EF\x0F\u00FB\x00\x02\x13!\x12\u00AF\u00D9\u00CD\u00F1\x00\u0097\u00CA\u00F1\x00\x10\u00E7\u00FB\x00\x00r\x01\u008D\u00FE\x02\u00E6\u00E6\u00E6\x07\u00BA\u00B7\u00B93\u00C5\u00C3\u00C4\u00FF\u00E8\u00E8\u00E8\u00FF\u00EC\u00EC\u00EC\u00FF\u00EB\u00EB\u00EB\u00FF\u00E7\u00E7\u00E7\u00FF\u0099\u0094\u0097\u00FE\u00E1\u00E1\u00E1\x1A\x02\u00AB\u00A7\u00A9\u009B\x1B\x1E\x1C\u00CC\x1C\x1E\x1D\x00\r\r\r\x00\t\t\t\x00\b\b\b\x00\x06\x06\x06\x00HMJ\x01\u00B0\u00AE\u00AF\u00E5\x02\u00F1\u00F0\u00F1H\u00E6\u00E6\u00E6\x00\u00E4\u00E4\u00E4\x00\u00DE\u00DE\u00DE\x00\u00EA\u00EA\u00EA\x00\u00EC\u00EC\u00EC\x00\u00EE\u00EE\u00EE\x00\u00EC\u00EC\u00EC\x00\n\n\t\x00\x02che#\u00CA\u00C6\u00C7\u00F3\x16\x16\x16\x00$$$\x00\x1B\x1B\x1B\x00\x1B\x1B\x1B\x00\x16\x16\x16\x00\n\n\n\x009::>\x02\u00F5\u00F5\u00F5\u00F3aed\x10\x0B\x0B\x0B\b\u00EC\u00EC\u00EC\x16\u00E5\u00E5\u00E5>\u00E6\u00E6\u00E62\u00F5\u00F5\u00F5\r\x0F\x0F\x0F\x06\x12\x13\x13\u00C4\x02%%%\x00\x19\x19\x19\u00FE\x19\x19\x19\u00F9E=CKF:B\u0082F=DxIDJ\r\x19\x19\x19\u00FB\x19\x19\x19\u00FF\x02\x00\x00\x00\x00!\x13\x1B\u00FF*\x17$\u00FF\b\u009B\u00F8\u009F\u00FF\u00A7\u00EF@\u00FE\u00A4\u00EDV\x0BU\u00FF\u00E6\x1F\x0E\x1A\u00FF.&-\u008B\x02+ (\u00CF\x00\u00FE\x01\x00\u00F3u\x04\x00`\x11\x02\x00\u00CD6\\\x00\u00B4+1\x00\u00AFv\u00B8\x00)g5\x00\u00F1\u00EB\u00ECt\x02\x07\x0E\x079\u00FE\r\x00\x00\u00F9\u00C0\u00EF\x00\u0083\u00A9\u00FC\x00B\u008D\u00C3\x00O\u0092\u00E9\x00)\u00853\x00\u00D5\u00AD\u00CC\x00\f\x1A\r\u00F0\x02\u00CE\u00D2\u00D1\u00F8\u00E1\u00E2\u00E4\x01\x1E\u00E6\x17\\)\u00D0\x01\x00\x0B\u00C5\u00E8\x00\x17\u00CB\u00EC\x00'\u00C3\f\u00E3\x18\x0F\x16\x04\u00D5\u00D5\u00DA\x11<\u0092\u00C9k\x13Q\x00\u0087\x7F\u00F3\u00A6\u00C9\u0098\u00BC\u00C9LbS\u00CC\u00B4\u00C5\u00DA\u00D0TES\x15\u00D1V\u00EBRk]\u00D0RDD\x10\x0F.\u00B8 \u009E\u00C4\x7F@\x04O\u00A2\b-(\u00B5\u00A8\x15\x17Tl\u0095j\x11EE0V\u00C5\u00AD\u0088\u00D1\u0080!\u0088q\u0092\u0098\u0098\u00C1\u00E4\u00B51\u00CB\u00CC\u00F3\u00D4\u009E\u00BE\u00C3\x07\u00DF\u00E9#\u00BA\u00AE\u008B\u0089D\u00C25\u00FA\u00E0a\u00F7\u00A5\u00FE\u0081\u00EC\u008D\u00C1\u00EB\u00A5[\u00D7n\u0086\u00E2\u00F1x\u00B3\u00AE\u00EB3t]\u00AF\"\x00\u009C\u00E7\u00CF\u00F5eZ\x16/\x1A\u00E9\u00DE\u00D6\u00E3\u00D9\u00B8u\u0093\u00ADcC\u00E7\u00CAL:\x13\u0089Ec\u0087\x01T\u0091\u00FE\u00DE\u00F3C\u00FB\u008E\x1C\u00B0O-C)\x05\u00A5\x14Z\u00AD\u0086J\u00A5|\u00AEP(,'u\r\u00F5]\u0093\x13\u0093\x00\x00\u00CB\u00B2`\u009A&L\u00D3\x04\x00x\u00BD5x42z\u00964\u00CF\u009F\u0087t:\u008DX,\u0086T*\u0085l6\x0B\u00C30`\x18\x06Ln\u00E2{4\u00DAB\u0092\u0089$\u00CA\u00E5\u00F2t\u0081s>M\u00C6\x18\u00CCJe\u0082|\u00FE8\u00CEUU\u0085\u00A6i\u00F0z\u00BD\u00A0\u0094BUU\u00B8\u00DDn\u0088\u00A2\u0088\u00CE\u00AE\u00F5G\u00C8\u009E\x03\u00FB\x16\u0097\u008AE\u0088\u00A2\bJ)\x14E\u0081,\u00CB\x10\x04\x01oBc\u00E6\u00B2\u00B6\u00E5\u008F\t\u00A5\u00F4\u009BO\u00D3Z\u00EF\u00DF\x1D\u00E6\u0091H\x04\u0089D\x02\u00AFCcx\u00FD\u00F2\u00D5\u00F8\u00F6\u009D;\u00EA\x05A\u00C8\x11\x00e\u00A7\u00D3\u00F9\u00A1{[\u008FK\u0096\u00E5\u00A0eYk\x1A\u009B\u00FCu\u00AD\u00ED+\u00DA\b!i\x00&a\u008Cq\u00C6XE\x10\u0084II\u0092\u00C2\u0092$\u0085l6[\u0092s^d\u008C\u0099\u008C1N\x02\u0081\x00\x02\u0081\x00\u00BA:6Tw\u00B4\u00AE\u00BE\u00BAvi\u00FB\u00B3\u00CE\u00F6u\x075M\u00E3S\u008E\x00\u00C0\u0082\u0086\u00E6\x17\u00B9d&\u00AD\u0088\u00F2\u00EE9M\u00B3\u00D7\u00963\u00FF.4xjypn\u00D0\x0B\x00da\u00D3\u0082\u00A3y#\u00BF\u00A6\u00F1P-r\u0083?\x11;9\x0E\u00E7\u00B0\tEu!\u00F7\u00FBO\x1A\x00\b3\u008C>\u00C5\u00EF\u0082\u00DE\u00F3\x03{}v\u009C\u009Ac\u0087\u00DF3\u0081b/\x03\u00CA@\u00CB\u00DC\u00E0~\u00C2-\u008ER@\u0082\u00EF\u0097\x1B[T76\u00CF\u00DA\u008D\u00B3\u00FE\u00CB\x18Xr\x1B%RB!\u00CFv\x11R%\u00A2\u0090\u00CD#\x13V0\u00F6U\u00C1\u00A7\u009F_p\u00F1\u00C9\x00N\f\u009D\u0086\u00DDf\u0087\u00DD!\u00FD\"3\u00DC\u008E\x1F\u00D6\u00B7\"\x12\u00C58\u00CE<e8~'\u0085+\u00EF\u00C2\u00F8\u00F2\u00E6\x1DL\u0097\x00w\u00B5\u00E7\x18q)J\u00A3\u00E2\x13\u00E1\x7F\u00E9\u0080\u00A2\u0094P\u00F12\u00D4\u00FD\x05\u00AA#&jf\u00AA\u00A1\u00D0\u00DB1\u0083\u00BC}\u00FF\u009ES^C\x1C\u0090\u00A2\u00F2s\x06\u00E5\x1E\u0083#V\u0082l\u00D5\x1C\u00FD\u00F8!\u00BC\n\x00\u00FE3Q\u00ED1M\u00DDQ\u00F8\u00BB\u00BF{/\u0097\u0096\u00B6r\u00A9m-\x0FQ@\u00C6k\u0082\x0FD\u00A2\u00E2\u00C0!\b\u00E2\\\u00A6\u00D9\u00E2\u008C\x0B2\u00E7\u0096\u00FD\u00B3?\u00CC\u00B2l\u00C9\u009E\u00D9\x12\u00E7|$K\u00DC\u00DCft[\u00941e\x1A\u0091%N\x19\"\u00CE\u00A1P`8A\u00B1<\u00B4R \u00F4\x16o{{\u00EBmo{\u00F7\u00C7\u0080\u00F8\u00C7\u0097s\u0092s\u00BEs\u00F2\u009D\u0093s\u0088\u00DB\u00ED\u00A6\u00DDn7\u00E7v\u00BB\u008D\u009D\u00B7ne~\u00F1\u00D1g\x1D\u00DF\x1D=\x16\u00FD\u00AB\u00FD\u00BA\u00E6t:5\u0097\u00CB\u00A5\u00B9\\.mxxX\u00EB\u00BA\u00D9\u00A956\u009C\u0089\x1E?\u00F6\u00C3h\u008F\u00A3\u00BB\u00CA\u00E5r\u00D9\u00C6\u00C6\u00C6tsw\u00E0\x1Es'\x7F\u00FD\u00D5\x11\u008FN\u00A7\u00BF\u00B7kOm\u00D1\u00D6m/R9y\u00B9\u00B0\u00D9l\u00E0y\x1E<\u00CF\u00C3b\u00B1 \u00E3\u0099%\u00DA\u00FA\r\u00A5T\u00D5\x0B\u00D5\u00A9\u00C6y\u00A6\u00E6s\u00BF6\u008E\x0B\x1E\u00E1%UU\x13\u00C8\u00DD\u00FE\u00BBE\u00BF75\u00DF\x7F\u00ED\u008D\u00DD1:\u00BD\x0E\u0084\u0090\u00B97\u00C6\u00B2,\x18\u0086\x01M\u00D3\u00A0i\x1A\f\u00C3P4M\u0083P\x04\u0084\x10\u0094WUP\x17\u00CF7\u00FD\u00E4\x1C\u00BC\u00FF&\u00F9\u00F3\u008F\u00CB\r\u00CB\n\u0097S\u0081@\x00\u00A2(B\x10\x04LOO\u00C3\u00EF\u00F7\u00C3\u00EF\u00F7#\x10\b@\u0096eH\u0092\x04Y\u0096\u00E7\u00FCP(\x04M\u00D3\u00B08=\u0095j\u00B9te\x1F\u00D1\u0080x\u00BD^\u008F\u00C7\u008F\x1FC\x14E\x04\x02\x01x\u00BD^\b\u0082\x00Q\x14\u00E7\n\u00CA\u00B2\u008C@ \x00EQ\u00A0\u00AA\u00EA\\\x13\u0086\u00E3 \u00FAE\u008E\u00A4.J\u00FD\u00B1\u00D7\u00D1\r\u008E\u00E3@\u00D34\x00\u0080eYp\x1C\x07\u0096e\u009F\u00965'u\u00D6\u0097$\t\u00B7{\u00FB`6\u009B\u00DBH\u00E5\u00E6\u00AA\u008F\x11\u00D5\u009A\u0087\u009DC0\u0099L\u00B0\u00D9lHIIARR\x12\u00ECv;\u00ACV+,\x16\x0B\x12\x12\x12\x10\x1F\x1F\x0F\u0093\u00C9\x04\u0093\u00C9\x04\u009E\u00E7!\u00F9$04\u00F3O\u00ED\u009E\u00BA\u00B7\t\u00C30\x13/\u00EF\u00DC\u00B1\u00A3`YA\u00E9\u00D5\u00CB-\u00FE\u00FE\x7F\u00EF@\x10\x04x<\x1E\u00F8|>\u00C8\u00B2\fEQ\u00A0(\u00CA\u00DC\u008C\u0086\u009CN\u00B4^n\t\u00A7,L\u00D9Y\u00B7\u00F7\u00F5\u00F2\u0098\u0098\u0098G\x04@\u0098\x10\x12\u0098o\u00B1\u00DC\u00D8\u00BE\u00E3\x15{\u00DE\u00D2gS\u00A6&\u00A76]o\u00BBv\u00E2B\u00E39\u00EFo\rg\u00B53\u00F5\r\u00DA\u00C5s\x17|\x1D\u00ED7\u009A&\u00C7'v\u00D9\x13\x13s\u009E\u00AF\u00DCh\u00B5\u00DA\u00ACg)\u008A\u009A\x06\u00A0\u00CC\u00BE\u0080\b\u00800EQ2\u00CB\u00B2\u00EE\u00E4\u0085\u00C9W\u00D6=\u00B7~oeMu\u00E2\u00A6-\u00D5\u00FA\u00AA-\u009B\u00F5\x1B*\u00CB\u00AD+\u008BWm\u00B3\u00D9\x17\u00D4\u00B3,;H\b\u00F1\x01\bI\u0092\u00A4J\u0092\x14%\x06\u0083\x01\x06\u0083\x01\x00\u00B4\x19D\x01\u00A8\x00\u00C2\x00\x14\x00Of\u00AC\x02 4\x13\u008B\u00CC\u00E4i\u00B3|b\u00B7\u00DB1\u008B\u008A\u00D2\n\u00A6\u00B4x\u00FD\u00FB%\u00CB\u008B\u00BD\u00ABsVh\u0085\u0099\u00F9\u00DA\u00CA\u00F4|meZ~\u00B4pI\u0081V\u0094\u00B3B+YV,\u0095\u00AF);P\u00BE\u00BE<\u00F6i.\x01\u0080\u0082\u00BC\u00E5t\u00DE\u00A2\u00AC6q\u00D2\x13\x0Ez\u00A5\u00CFu\u00D0\u00F1\x195i\u00C8:\u00BC\x18\u0099\u00BF$!\u00FBL2\u00B2\u00BFNE\u00DA\u00D6\u0085\u00D0\u0091\u00D88\u00FF\u0094\u00B8O\u00F4\b\u00C1\u00AC\u00E4\u008C\u00FE\u00B2ue\x1C\x00\u00905Ek\r\u0092G\x18\u00F3\u008Bb\t\x1B\u00A1a\u00DDf\u0086\u00F6\u00B3\u0084\u0087u\u00FD\u0090rG`Lv#.q\f\u00C1\u009CQ\u008C\u00D7\x0E\"x\u00DA\x0B\u00EB[f\u00E8\u00A8X\u00C8R \u00FB\u00C1=\u00A7\u0090\u009B\u0099k%\u00C2\u00C4\u00E4\u00D1\u0090\x12\u00B2Q!\n\u00DCF\x03\u00BC\u00AFz\u00A1\u00E3e\u00D4&\u00B28\u0094\x06\x1CLgq(\u0083\u00C5\u0081\u00C5\u00C0\u0081\u008Cj|\u0092\u00F5!J\u00EAJ\u00A0\u00DBn\x00\u00A5RP\u00C3\u00E18M\t\x1F!\f\u00A1\u00B3)B\x00\u008E\u0082\x14\u00D5\x10\u00BCd\u0086z~\x11\u00BC])\u0090\u00BCK\x11\x1F\u00F9\x00\u00BC\u00FA)\u00E0+\u0085\u00E5I\x05\nQ\u0081\u00B5\u00A1\x1A\x18Y\x1BBl\x18\x14E\u00A0F\"fBb\u00E9w\u0099X\x1A\x1A\x03D\x06\u00FC\u0088\x04\u00A6\u00E1~\"\u00E1\u00EA\u00FD(N\u00B7\u00FBp\u00B8\u00E58\x0E\u00B6\x1E\u00C5\u0089\u00B6Q\u00BCs\u00EAK\x14\u00EF\u00AFD\u00ED\u00F7\u00BB1r\u00F3.b8\x0E\u0094\u0081\u0086\u00817\u009E$}\x03wZM\u00E6\u00F8\u009D\u00AC\u0099\x01\u00A3R\u00D0_\u008D\u0082\u0093\u0082x\u00A8\x7F\u0084&\u00DF0\u00BE\x1D\x19\u00C17C#h\u009Cvb4n\x1C:MA\u00C2\r\x1A\u00AC/\n*\x1E\u00B0%Z\u00DE\u00EB\u00BE\u00DD[O\x00\u00A0\u00A7\u00AF\u00EF\x14\u00AF\u00E3c\u00CC&\u00E3\u00D9\x043\x03\u00EB\u00BD02\u009Ai,m\u008D\u00C3\u00AA\x1E3V\u00F7\u00CDG~\u009B\x01\u00E9\x17\x19,\u00E8\u008B\u0080\u00D7\x01\u00F3\r\u00F3Z\u00EDF\u00BB\u00BE\u00A3\u00C3\u00B1\x1F\u00C0\u00FF\u00EB\x07\u0080\u00CE\u00EE\u00DE\u00B0\u00C31\u00B0\u00DDq\u00ED\x01\x15\u00F1X\u00F4\u00AAh\u00DB O\x1ANN\x0F\u00D1\x0E\u00EF \u00DD#O\u0098\u00EA\u0083S\t5Q\u00AF\u00CD\u00E8hwQ]]\x03e\x7Fwv\x06g\u00F9\u00FF\r\x004\u0086\u00A2\u00B3d\u00E1\u00FA\u00B0\x00\x00\x00\x00IEND\u00AEB`\u0082"
          ;
          myInput ();
          function myInput (){
           myWindow = new Window ("dialog", "CUSTOM RADIAL BUTTONS");
           myWindow.orientation = "row";
           myWindow.graphics.backgroundColor = myWindow.graphics.newBrush (myWindow.graphics.BrushType.SOLID_COLOR, [0.55, 0.7, 0.3]);
           myWindow.minimumSize.width = 300;
              radio_group = myWindow.add ("group");
              radio_group.minimumSize.height = 300;
              radio_group.alignment=["center","top"];
              radio_group.orientation="column";
              var myRadio= myWindow.add ("group");
             myRadio.orientation="row";
                V_SPRITES = 2;
               var dy;
                countSeven=1;
                countEight=0;
                countNine=0;
          var mySevenH =myRadio.add('image', undefined, pngButton, {state:0}),
              iSize =mySevenH .image.size,
              spriteHeight = iSize[1] / V_SPRITES;
              var mySevenTxt=myRadio.add ("statictext", undefined, "TESTING ONE");
          mySevenH .size = [iSize[0], spriteHeight];
          mySevenH .onDraw = function(){
              //find even on odd on the count
              if(countSeven%2==0){
                  dy=0;
                  }
              else{dy=22
                  }
              this.graphics.drawImage(this.image,0,-dy,17,39);
          };
          var myEightH =myRadio.add('image', undefined, pngButton, {state:0}),
              iSize =myEightH .image.size,
              spriteHeight = iSize[1] / V_SPRITES;
              var myEightTxt=myRadio.add ("statictext", undefined, "TESTING TWO");
          myEightH .size = [iSize[0], spriteHeight];
          myEightH .onDraw = function(){
              //find even on odd on the count
          
              if(countEight%2==0){
                  dy=0;
                  }
              else{dy=22
                  }
              this.graphics.drawImage(this.image,0,-dy,17,39);
          };
          
          var myNineH =myRadio.add('image', undefined, pngButton, {state:0}),
              iSize =myNineH .image.size,
              spriteHeight = iSize[1] / V_SPRITES;
              var myNineTxt=myRadio.add ("statictext", undefined, "TESTING THREE");
          myNineH .size = [iSize[0], spriteHeight];
          myNineH .onDraw = function(){
              //find even on odd on the count
              if(countNine%2==0){
                  dy=0;
                  }
              else{dy=22
                  }
              this.graphics.drawImage(this.image,0,-dy,17,39);
          };
          
          var mouseEventHandler = function(ev){
              mypoo=this.properties.state = ('click'==ev.type);
             countSeven=1;
             countEight=0;
             countNine=0;
              this.parent.layout.layout(true);
          };
          var mouseEventHandlerE = function(ev){
              mypoo2=this.properties.state = ('click'==ev.type);
             countSeven=0;
             countEight=1;
             countNine=0;
              this.parent.layout.layout(true);
          };
          var mouseEventHandlerN= function(ev){
              mypoo3=this.properties.state = ('click'==ev.type);
             countSeven=0;
             countEight=0;
             countNine=1;
              this.parent.layout.layout(true);
          };
          mySevenH .addEventListener('click', mouseEventHandler);
          myEightH .addEventListener('click', mouseEventHandlerE);
          myNineH .addEventListener('click', mouseEventHandlerN);
              //radio_group.alignChildren = "left";
              //radio_group.children[2].value = true;
              myRadio.children[0].alignment=["center","top"];
              var myOKGroup =  myWindow.add ("group");
              myOKGroup.orientation = "column";
              myOKGroup.minimumSize.height = 80;
              myOKGroup.add("button", [15,80,88,110],  "OK");
              myOKGroup.add("button", [15,80,88,110],  "CANCEL");
              myOKGroup.alignment=["center","bottom"];
          
          }
          var myResult = myWindow.show();
          
          • 2. Re: Broken Buttons in CC
            Marc Autret Level 4

            Hi Gonterman,

             

            Reassigning the same size to an Image container or calling layout.layout(1) does not trigger onDraw anymore in ScriptUI/CC.

            See "InDesign CC Compatibility Note #1" in my Sprite Button article:

            http://www.indiscripts.com/post/2011/04/sprite-buttons-in-scriptui

             

            Hope that helps.

             

            @+

            Marc

            • 3. Re: Broken Buttons in CC
              Gonterman1201 Level 1

              Thank you very much. I am going to try this. I was thinking I might have to give up my custom buttons.

              • 4. Re: Re: Broken Buttons in CC
                Gonterman1201 Level 1

                I tried using the resizing function you described but I am having mixed results it doesn't work on the first click and sometimes has to be clicked several times before it changes. I will post what I have to date.

                app.scriptPreferences.version = 6.0;
                var pngButton="\u0089PNG\r\n\x1A\n\x00\x00\x00\rIHDR\x00\x00\x00\x12\x00\x00\x00(\b\x06\x00\x00\x01\u0084(\u009A\n\x00\x00\x00\tpHYs\x00\x00\x0B\x13\x00\x00\x0B\x13\x01\x00\u009A\u009C\x18\x00\x00\nOiCCPPhotoshop ICC profile\x00\x00x\u00DA\u009DSgTS\u00E9\x16=\u00F7\u00DE\u00F4BK\u0088\u0080\u0094KoR\x15\b RB\u008B\u0080\x14\u0091&*!\t\x10J\u0088!\u00A1\u00D9\x15Q\u00C1\x11EE\x04\x1B\u00C8\u00A0\u0088\x03\u008E\u008E\u0080\u008C\x15Q,\f\u008A\n\u00D8\x07\u00E4!\u00A2\u008E\u0083\u00A3\u0088\u008A\u00CA\u00FB\u00E1{\u00A3k\u00D6\u00BC\u00F7\u00E6\u00CD\u00FE\u00B5\u00D7>\u00E7\u00AC\u00F3\u009D\u00B3\u00CF\x07\u00C0\b\f\u0096H3Q5\u0080\f\u00A9B\x1E\x11\u00E0\u0083\u00C7\u00C4\u00C6\u00E1\u00E4.@\u0081\n$p\x00\x10\b\u00B3d!s\u00FD#\x01\x00\u00F8~<<+\"\u00C0\x07\u00BE\x00\x01x\u00D3\x0B\b\x00\u00C0M\u009B\u00C00\x1C\u0087\u00FF\x0F\u00EAB\u0099\\\x01\u0080\u0084\x01\u00C0t\u00918K\b\u0080\x14\x00@z\u008EB\u00A6\x00@F\x01\u0080\u009D\u0098&S\x00\u00A0\x04\x00`\u00CBcb\u00E3\x00P-\x00`'\x7F\u00E6\u00D3\x00\u0080\u009D\u00F8\u0099{\x01\x00[\u0094!\x15\x01\u00A0\u0091\x00 \x13e\u0088D\x00h;\x00\u00AC\u00CFV\u008AE\x00X0\x00\x14fK\u00C49\x00\u00D8-\x000IWfH\x00\u00B0\u00B7\x00\u00C0\u00CE\x10\x0B\u00B2\x00\b\f\x000Q\u0088\u0085)\x00\x04{\x00`\u00C8##x\x00\u0084\u0099\x00\x14F\u00F2W<\u00F1+\u00AE\x10\u00E7*\x00\x00x\u0099\u00B2<\u00B9$9E\u0081[\b-q\x07WW.\x1E(\u00CEI\x17+\x146a\x02a\u009A@.\u00C2y\u0099\x192\u00814\x0F\u00E0\u00F3\u00CC\x00\x00\u00A0\u0091\x15\x11\u00E0\u0083\u00F3\u00FDx\u00CE\x0E\u00AE\u00CE\u00CE6\u008E\u00B6\x0E_-\u00EA\u00BF\x06\u00FF\"bb\u00E3\u00FE\u00E5\u00CF\u00ABp@\x00\x00\u00E1t~\u00D1\u00FE,/\u00B3\x1A\u0080;\x06\u0080m\u00FE\u00A2%\u00EE\x04h^\x0B\u00A0u\u00F7\u008Bf\u00B2\x0F@\u00B5\x00\u00A0\u00E9\u00DAW\u00F3p\u00F8~<<E\u00A1\u0090\u00B9\u00D9\u00D9\u00E5\u00E4\u00E4\u00D8J\u00C4B[a\u00CAW}\u00FEg\u00C2_\u00C0W\u00FDl\u00F9~<\u00FC\u00F7\u00F5\u00E0\u00BE\u00E2$\u00812]\u0081G\x04\u00F8\u00E0\u00C2\u00CC\u00F4L\u00A5\x1C\u00CF\u0092\t\u0084b\u00DC\u00E6\u008FG\u00FC\u00B7\x0B\u00FF\u00FC\x1D\u00D3\"\u00C4Ib\u00B9X*\x14\u00E3Q\x12q\u008ED\u009A\u008C\u00F32\u00A5\"\u0089B\u0092)\u00C5%\u00D2\u00FFd\u00E2\u00DF,\u00FB\x03>\u00DF5\x00\u00B0j>\x01{\u0091-\u00A8]c\x03\u00F6K'\x10Xt\u00C0\u00E2\u00F7\x00\x00\u00F2\u00BBo\u00C1\u00D4(\b\x03\u0080h\u0083\u00E1\u00CFw\u00FF\u00EF?\u00FDG\u00A0%\x00\u0080fI\u0092q\x00\x00^D$.T\u00CA\u00B3?\u00C7\b\x00\x00D\u00A0\u0081*\u00B0A\x1B\u00F4\u00C1\x18,\u00C0\x06\x1C\u00C1\x05\u00DC\u00C1\x0B\u00FC`6\u0084B$\u00C4\u00C2B\x10B\nd\u0080\x1Cr`)\u00AC\u0082B(\u0086\u00CD\u00B0\x1D*`/\u00D4@\x1D4\u00C0Qh\u0086\u0093p\x0E.\u00C2U\u00B8\x0E=p\x0F\u00FAa\b\u009E\u00C1(\u00BC\u0081\t\x04A\u00C8\b\x13a!\u00DA\u0088\x01b\u008AX#\u008E\b\x17\u0099\u0085\u00F8!\u00C1H\x04\x12\u008B$ \u00C9\u0088\x14Q\"K\u00915H1R\u008AT UH\x1D\u00F2=r\x029\u0087\\F\u00BA\u0091;\u00C8\x002\u0082\u00FC\u0086\u00BCG1\u0094\u0081\u00B2Q=\u00D4\f\u00B5C\u00B9\u00A87\x1A\u0084F\u00A2\x0B\u00D0dt1\u009A\u008F\x16\u00A0\u009B\u00D0r\u00B4\x1A=\u008C6\u00A1\u00E7\u00D0\u00ABh\x0F\u00DA\u008F>C\u00C70\u00C0\u00E8\x18\x073\u00C4l0.\u00C6\u00C3B\u00B18,\t\u0093c\u00CB\u00B1\"\u00AC\f\u00AB\u00C6\x1A\u00B0V\u00AC\x03\u00BB\u0089\u00F5c\u00CF\u00B1w\x04\x12\u0081E\u00C0\t6\x04wB a\x1EAHXLXN\u00D8H\u00A8 \x1C$4\x11\u00DA\t7\t\x03\u0084Q\u00C2'\"\u0093\u00A8K\u00B4&\u00BA\x11\u00F9\u00C4\x18b21\u0087XH,#\u00D6\x12\u008F\x13/\x10{\u0088C\u00C47$\x12\u0089C2'\u00B9\u0090\x02I\u00B1\u00A4T\u00D2\x12\u00D2F\u00D2nR#\u00E9,\u00A9\u009B4H\x1A#\u0093\u00C9\u00DAdk\u00B2\x079\u0094, +\u00C8\u0085\u00E4\u009D\u00E4\u00C3\u00E43\u00E4\x1B\u00E4!\u00F2[\n\u009Db@q\u00A4\u00F8S\u00E2(R\u00CAjJ\x19\u00E5\x10\u00E54\u00E5\x06e\u00982AU\u00A3\u009AR\u00DD\u00A8\u00A1T\x115\u008FZB\u00AD\u00A1\u00B6R\u00AFQ\u0087\u00A8\x134u\u009A9\u00CD\u0083\x16IK\u00A5\u00AD\u00A2\u0095\u00D3\x1Ah\x17h\u00F7i\u00AF\u00E8t\u00BA\x11\u00DD\u0095\x1EN\u0097\u00D0W\u00D2\u00CB\u00E9G\u00E8\u0097\u00E8\x03\u00F4w\f\r\u0086\x15\u0083\u00C7\u0088g(\x19\u009B\x18\x07\x18g\x19w\x18\u00AF\u0098L\u00A6\x19\u00D3\u008B\x19\u00C7T071\u00EB\u0098\u00E7\u0099\x0F\u0099oUX*\u00B6*|\x15\u0091\u00CA\n\u0095J\u0095&\u0095\x1B*/T\u00A9\u00AA\u00A6\u00AA\u00DE\u00AA\x0BU\u00F3U\u00CBT\u008F\u00A9^S}\u00AEFU3S\u00E3\u00A9\t\u00D4\u0096\u00ABU\u00AA\u009DP\u00EBS\x1BSg\u00A9;\u00A8\u0087\u00AAg\u00A8oT?\u00A4~Y\u00FD\u0089\x06Y\u00C3L\u00C3OC\u00A4Q\u00A0\u00B1_\u00E3\u00BC\u00C6 \x0Bc\x19\u00B3x,!k\r\u00AB\u0086u\u00815\u00C4&\u00B1\u00CD\u00D9|v*\u00BB\u0098\u00FD\x1D\u00BB\u008B=\u00AA\u00A9\u00A19C3J3W\u00B3R\u00F3\u0094f?\x07\u00E3\u0098q\u00F8\u009CtN\t\u00E7(\u00A7\u0097\u00F3~\u008A\u00DE\x14\u00EF)\u00E2)\x1B\u00A64L\u00B91e\\k\u00AA\u0096\u0097\u0096X\u00ABH\u00ABQ\u00ABG\u00EB\u00BD6\u00AE\u00ED\u00A7\u009D\u00A6\u00BDE\u00BBY\u00FB\u0081\x0EA\u00C7J'\\'Gg\u008F\u00CE\x05\u009D\u00E7S\u00D9S\u00DD\u00A7\n\u00A7\x16M=:\u00F5\u00AE.\u00AAk\u00A5\x1B\u00A1\u00BBDw\u00BFn\u00A7\u00EE\u0098\u009E\u00BE^\u0080\u009ELo\u00A7\u00DEy\u00BD\u00E7\u00FA\x1C}/\u00FDT\u00FDm\u00FA\u00A7\u00F5G\fX\x06\u00B3\f$\x06\u00DB\f\u00CE\x18<\u00C55qo<\x1D/\u00C7\u00DB\u00F1QC]\u00C3@C\u00A5a\u0095a\u0097\u00E1\u0084\u0091\u00B9\u00D1<\u00A3\u00D5F\u008DF\x0F\u008Ci\u00C6\\\u00E3$\u00E3m\u00C6m\u00C6\u00A3&\x06&!&KM\u00EAM\u00EE\u009ARM\u00B9\u00A6)\u00A6;L;L\u00C7\u00CD\u00CC\u00CD\u00A2\u00CD\u00D6\u00995\u009B=1\u00D72\u00E7\u009B\u00E7\u009B\u00D7\u009B\u00DF\u00B7`ZxZ,\u00B6\u00A8\u00B6\u00B8eI\u00B2\u00E4Z\u00A6Y\u00EE\u00B6\u00BCn\u0085Z9Y\u00A5XUZ]\u00B3F\u00AD\u009D\u00AD%\u00D6\u00BB\u00AD\u00BB\u00A7\x11\u00A7\u00B9N\u0093N\u00AB\u009E\u00D6g\u00C3\u00B0\u00F1\u00B6\u00C9\u00B6\u00A9\u00B7\x19\u00B0\u00E5\u00D8\x06\u00DB\u00AE\u00B6m\u00B6}agb\x17g\u00B7\u00C5\u00AE\u00C3\u00EE\u0093\u00BD\u0093}\u00BA}\u008D\u00FD=\x07\r\u0087\u00D9\x0E\u00AB\x1DZ\x1D~s\u00B4r\x14:V:\u00DE\u009A\u00CE\u009C\u00EE?}\u00C5\u00F4\u0096\u00E9/gX\u00CF\x10\u00CF\u00D83\u00E3\u00B6\x13\u00CB)\u00C4i\u009DS\u009B\u00D3Gg\x17g\u00B9s\u0083\u00F3\u0088\u008B\u0089K\u0082\u00CB.\u0097>.\u009B\x1B\u00C6\u00DD\u00C8\u00BD\u00E4Jt\u00F5q]\u00E1z\u00D2\u00F5\u009D\u009B\u00B3\u009B\u00C2\u00ED\u00A8\u00DB\u00AF\u00EE6\u00EEi\u00EE\u0087\u00DC\u009F\u00CC4\u009F)\u009EY3s\u00D0\u00C3\u00C8C\u00E0Q\u00E5\u00D1?\x0B\u009F\u00950k\u00DF\u00AC~OCO\u0081g\u00B5\u00E7#/c/\u0091W\u00AD\u00D7\u00B0\u00B7\u00A5w\u00AA\u00F7a\u00EF\x17>\u00F6>r\u009F\u00E3>\u00E3<7\u00DE2\u00DEY_\u00CC7\u00C0\u00B7\u00C8\u00B7\u00CBO\u00C3o\u009E_\u0085\u00DFC\x7F#\u00FFd\u00FFz\u00FF\u00D1\x00\u00A7\u0080%\x01g\x03\u0089\u0081A\u0081[\x02\u00FB\u00F8z|!\u00BF\u008E?:\u00DBe\u00F6\u00B2\u00D9\u00EDA\u008C\u00A0\u00B9A\x15A\u008F\u0082\u00AD\u0082\u00E5\u00C1\u00AD!h\u00C8\u00EC\u0090\u00AD!\u00F7\u00E7\u0098\u00CE\u0091\u00CEi\x0E\u0085P~\u00E8\u00D6\u00D0\x07a\u00E6a\u008B\u00C3~\f'\u0085\u0087\u0085W\u0086?\u008Ep\u0088X\x1A\u00D11\u00975w\u00D1\u00DCCs\u00DFD\u00FAD\u0096D\u00DE\u009Bg1O9\u00AF-J5*>\u00AA.j<\u00DA7\u00BA4\u00BA?\u00C6.fY\u00CC\u00D5X\u009DXIlK\x1C9.*\u00AE6nl\u00BE\u00DF\u00FC\u00ED\u00F3\u0087\u00E2\u009D\u00E2\x0B\u00E3{\x17\u0098/\u00C8]py\u00A1\u00CE\u00C2\u00F4\u0085\u00A7\x16\u00A9.\x12,:\u0096@L\u0088N8\u0094\u00F0A\x10*\u00A8\x16\u008C%\u00F2\x13w%\u008E\ny\u00C2\x1D\u00C2g\"/\u00D16\u00D1\u0088\u00D8C\\*\x1EN\u00F2H*Mz\u0092\u00EC\u0091\u00BC5y$\u00C53\u00A5,\u00E5\u00B9\u0084'\u00A9\u0090\u00BCL\rL\u00DD\u009B:\u009E\x16\u009Av m2=:\u00BD1\u0083\u0092\u0091\u0090qB\u00AA!M\u0093\u00B6g\u00EAg\u00E6fv\u00CB\u00ACe\u0085\u00B2\u00FE\u00C5n\u008B\u00B7/\x1E\u0095\x07\u00C9k\u00B3\u0090\u00AC\x05Y-\n\u00B6B\u00A6\u00E8TZ(\u00D7*\x07\u00B2geWf\u00BF\u00CD\u0089\u00CA9\u0096\u00AB\u009E+\u00CD\u00ED\u00CC\u00B3\u00CA\u00DB\u00907\u009C\u00EF\u009F\u00FF\u00ED\x12\u00C2\x12\u00E1\u0092\u00B6\u00A5\u0086KW-\x1DX\u00E6\u00BD\u00ACj9\u00B2<qy\u00DB\n\u00E3\x15\x05+\u0086V\x06\u00AC<\u00B8\u008A\u00B6*m\u00D5O\u00AB\u00EDW\u0097\u00AE~\u00BD&zMk\u0081^\u00C1\u00CA\u0082\u00C1\u00B5\x01k\u00EB\x0BU\n\u00E5\u0085}\u00EB\u00DC\u00D7\u00ED]OX/Y\u00DF\u00B5a\u00FA\u0086\u009D\x1B>\x15\u0089\u008A\u00AE\x14\u00DB\x17\u0097\x15\x7F\u00D8(\u00DCx\u00E5\x1B\u0087o\u00CA\u00BF\u0099\u00DC\u0094\u00B4\u00A9\u00AB\u00C4\u00B9d\u00CFf\u00D2f\u00E9\u00E6\u00DE-\u009E[\x0E\u0096\u00AA\u0097\u00E6\u0097\x0En\r\u00D9\u00DA\u00B4\r\u00DFV\u00B4\u00ED\u00F5\u00F6E\u00DB/\u0097\u00CD(\u00DB\u00BB\u0083\u00B6C\u00B9\u00A3\u00BF<\u00B8\u00BCe\u00A7\u00C9\u00CE\u00CD;?T\u00A4T\u00F4T\u00FAT6\u00EE\u00D2\u00DD\u00B5a\u00D7\u00F8n\u00D1\u00EE\x1B{\u00BC\u00F64\u00EC\u00D5\u00DB[\u00BC\u00F7\u00FD>\u00C9\u00BE\u00DBU\x01UM\u00D5f\u00D5e\u00FBI\u00FB\u00B3\u00F7?\u00AE\u0089\u00AA\u00E9\u00F8\u0096\u00FBm]\u00ADNmq\u00ED\u00C7\x03\u00D2\x03\u00FD\x07#\x0E\u00B6\u00D7\u00B9\u00D4\u00D5\x1D\u00D2=TR\u008F\u00D6+\u00EBG\x0E\u00C7\x1F\u00BE\u00FE\u009D\u00EFw-\r6\rU\u008D\u009C\u00C6\u00E2#pDy\u00E4\u00E9\u00F7\t\u00DF\u00F7\x1E\r:\u00DAv\u008C{\u00AC\u00E1\x07\u00D3\x1Fv\x1Dg\x1D/jB\u009A\u00F2\u009AF\u009BS\u009A\u00FB[b[\u00BAO\u00CC>\u00D1\u00D6\u00EA\u00DEz\u00FCG\u00DB\x1F\x0F\u009C4<YyJ\u00F3T\u00C9i\u00DA\u00E9\u0082\u00D3\u0093g\u00F2\u00CF\u008C\u009D\u0095\u009D}~.\u00F9\u00DC`\u00DB\u00A2\u00B6{\u00E7c\u00CE\u00DFj\x0Fo\u00EF\u00BA\x10t\u00E1\u00D2E\u00FF\u008B\u00E7;\u00BC;\u00CE\\\u00F2\u00B8t\u00F2\u00B2\u00DB\u00E5\x13W\u00B8W\u009A\u00AF:_m\u00EAt\u00EA<\u00FE\u0093\u00D3O\u00C7\u00BB\u009C\u00BB\u009A\u00AE\u00B9\\k\u00B9\u00EEz\u00BD\u00B5{f\u00F7\u00E9\x1B\u009E7\u00CE\u00DD\u00F4\u00BDy\u00F1\x16\u00FF\u00D6\u00D5\u009E9=\u00DD\u00BD\u00F3zo\u00F7\u00C5\u00F7\u00F5\u00DF\x16\u00DD~r'\u00FD\u00CE\u00CB\u00BB\u00D9w'\u00EE\u00AD\u00BCO\u00BC_\u00F4@\u00EDA\u00D9C\u00DD\u0087\u00D5?[\u00FE\u00DC\u00D8\u00EF\u00DC\x7Fj\u00C0w\u00A0\u00F3\u00D1\u00DCG\u00F7\x06\u0085\u0083\u00CF\u00FE\u0091\u00F5\u008F\x0FC\x05\u008F\u0099\u008F\u00CB\u0086\r\u0086\u00EB\u009E8>99\u00E2?r\u00FD\u00E9\u00FC\u00A7C\u00CFd\u00CF&\u009E\x17\u00FE\u00A2\u00FE\u00CB\u00AE\x17\x16/~\u00F8\u00D5\u00EB\u00D7\u00CE\u00D1\u0098\u00D1\u00A1\u0097\u00F2\u0097\u0093\u00BFm|\u00A5\u00FD\u00EA\u00C0\u00EB\x19\u00AF\u00DB\u00C6\u00C2\u00C6\x1E\u00BE\u00C9x31^\u00F4V\u00FB\u00ED\u00C1w\u00DCw\x1D\u00EF\u00A3\u00DF\x0FO\u00E4| \x7F(\u00FFh\u00F9\u00B1\u00F5S\u00D0\u00A7\u00FB\u0093\x19\u0093\u0093\u00FF\x04\x03\u0098\u00F3\u00FCc3-\u00DB\x00\x00\x00 cHRM\x00\x00z%\x00\x00\u0080\u0083\x00\x00\u00F9\u00FF\x00\x00\u0080\u00E9\x00\x00u0\x00\x00\u00EA`\x00\x00:\u0098\x00\x00\x17o\u0092_\u00C5F\x00\x00\n\u0087IDATx\u00DA\x00A\x00\u00BE\u00FF\x02\u00E6\u00E6\u00E6\x03\u00A4\u00A0\u00A3\u00FA\u00E6\u00E6\u00E6\x04\x02\u0091\u008C\u008F\u00FB=A>\x05\u00CD\u00CD\u00CD\u00FB\x02otq\x05\u00FF\u00FF\u00FF\x00333\n\x02\x19\x19\x19\u00FDbZ]\x00\x19\x19\x19\u00F7\x02-$)\u009A{\u009D\x06\x00!\x16\x1D\u00FF\x00\x00\x00\u00FF\u00FF\x00-\x00\u00D2\u00FF\x02\u00E6\u00E6\u00E6\x19\u00C1\u00BE\u00C0i\x02\u00E5\u00E5\u00E5\u00E6\x1D \x1E\u0096\x02\u00D4\u00D0\u00D2\u00B9\u00C7\u00C3\u00C5\u00FF\x02\u0080v}Gwls\x01\x02\u00F8d\r\x00P\u0099Y\x00\x00\x00\x00\u00FF\u00FF\x00i\x00\u0096\u00FF\x02\u00E5\u00E5\u00E5\x18\u00E7\u00E6\u00E7\u00FF\u00F8\u00F8\u00F8\u00FF\u00F0\u00F0\u00F0\u00FF\u0096\u0091\u0093\u00E4\x02\u00E4\u00E2\u00E33\u00F0\u00F1\u00F0\x00\u00F6\u00F6\u00F6\x00\u00FA\u00FA\u00FA\x00\u00D9\u00DA\u00DA\x1A\x02\x11\x13\x12\u00B5\x0F\x0F\x0F\x02\u00F8\u00F8\u00F8\x03\u00FC\u00FC\u00FC\x02kom\x02\x02ZSYKG\u00C4<\u00FE\u00C1\u00F90\u00FDA\u00DD.\u00FED7?\u00FF\x02\u00CB\u00D2\u00CC\u00B5\u00FC\u0088\u00F7\x00\u0089\u00B8\f\x00\x07x\b\x00!-#\x05\x00\u00AA\x00U\u00FF\x02\u00E6\u00E6\u00E6\x07\u009E\u0099\u009C\u00B6\u00A5\u00A0\u00A3\u00F2\u00E6\u00E6\u00E6\x10\x02\u00CD\u00CB\u00CC\u00F8X]ZIQVS\r\u00FB\u00FC\u00FB\u00EF\x02\x0F\x11\x10\x00\u00E2\u00E2\u00E2\x00\u00EB\u00EB\u00EB\x00\u00EF\u00EE\u00EF\x00\x02\x06\x06\x06\x00\x15\x15\x15\x00\f\f\f\x00\r\r\r\x00\x02\x1B\x1B\x1B\x12\u00CA\u00C8\u00C8\x00\u00EB\u00EA\u00EB\x00\u00FC\u00FB\u00FCS\x02\u00F7\u00F7\u00F7\u00EF/11\x02\x0E\x0F\x0E\x03\x01\x02\x01\u00AE\x02WQW\n='8\u00FEP=K\u00FDL@H\u00CF\x02\u00ED\u00E0\u00E7\u00F5#\u00BE\u00F8\x00W\u00B7\u00E5\x00\x04$\x030\x02\x00\x05\x01\x00\x16\u00CD\x1E\x00\x0E\u00E8\x1D\x00\u00EF\x0F\u00FB\x00\x02\x13!\x12\u00AF\u00D9\u00CD\u00F1\x00\u0097\u00CA\u00F1\x00\x10\u00E7\u00FB\x00\x00r\x01\u008D\u00FE\x02\u00E6\u00E6\u00E6\x07\u00BA\u00B7\u00B93\u00C5\u00C3\u00C4\u00FF\u00E8\u00E8\u00E8\u00FF\u00EC\u00EC\u00EC\u00FF\u00EB\u00EB\u00EB\u00FF\u00E7\u00E7\u00E7\u00FF\u0099\u0094\u0097\u00FE\u00E1\u00E1\u00E1\x1A\x02\u00AB\u00A7\u00A9\u009B\x1B\x1E\x1C\u00CC\x1C\x1E\x1D\x00\r\r\r\x00\t\t\t\x00\b\b\b\x00\x06\x06\x06\x00HMJ\x01\u00B0\u00AE\u00AF\u00E5\x02\u00F1\u00F0\u00F1H\u00E6\u00E6\u00E6\x00\u00E4\u00E4\u00E4\x00\u00DE\u00DE\u00DE\x00\u00EA\u00EA\u00EA\x00\u00EC\u00EC\u00EC\x00\u00EE\u00EE\u00EE\x00\u00EC\u00EC\u00EC\x00\n\n\t\x00\x02che#\u00CA\u00C6\u00C7\u00F3\x16\x16\x16\x00$$$\x00\x1B\x1B\x1B\x00\x1B\x1B\x1B\x00\x16\x16\x16\x00\n\n\n\x009::>\x02\u00F5\u00F5\u00F5\u00F3aed\x10\x0B\x0B\x0B\b\u00EC\u00EC\u00EC\x16\u00E5\u00E5\u00E5>\u00E6\u00E6\u00E62\u00F5\u00F5\u00F5\r\x0F\x0F\x0F\x06\x12\x13\x13\u00C4\x02%%%\x00\x19\x19\x19\u00FE\x19\x19\x19\u00F9E=CKF:B\u0082F=DxIDJ\r\x19\x19\x19\u00FB\x19\x19\x19\u00FF\x02\x00\x00\x00\x00!\x13\x1B\u00FF*\x17$\u00FF\b\u009B\u00F8\u009F\u00FF\u00A7\u00EF@\u00FE\u00A4\u00EDV\x0BU\u00FF\u00E6\x1F\x0E\x1A\u00FF.&-\u008B\x02+ (\u00CF\x00\u00FE\x01\x00\u00F3u\x04\x00`\x11\x02\x00\u00CD6\\\x00\u00B4+1\x00\u00AFv\u00B8\x00)g5\x00\u00F1\u00EB\u00ECt\x02\x07\x0E\x079\u00FE\r\x00\x00\u00F9\u00C0\u00EF\x00\u0083\u00A9\u00FC\x00B\u008D\u00C3\x00O\u0092\u00E9\x00)\u00853\x00\u00D5\u00AD\u00CC\x00\f\x1A\r\u00F0\x02\u00CE\u00D2\u00D1\u00F8\u00E1\u00E2\u00E4\x01\x1E\u00E6\x17\\)\u00D0\x01\x00\x0B\u00C5\u00E8\x00\x17\u00CB\u00EC\x00'\u00C3\f\u00E3\x18\x0F\x16\x04\u00D5\u00D5\u00DA\x11<\u0092\u00C9k\x13Q\x00\u0087\x7F\u00F3\u00A6\u00C9\u0098\u00BC\u00C9LbS\u00CC\u00B4\u00C5\u00DA\u00D0TES\x15\u00D1V\u00EBRk]\u00D0RDD\x10\x0F.\u00B8 \u009E\u00C4\x7F@\x04O\u00A2\b-(\u00B5\u00A8\x15\x17Tl\u0095j\x11EE0V\u00C5\u00AD\u0088\u00D1\u0080!\u0088q\u0092\u0098\u0098\u00C1\u00E4\u00B51\u00CB\u00CC\u00F3\u00D4\u009E\u00BE\u00C3\x07\u00DF\u00E9#\u00BA\u00AE\u008B\u0089D\u00C25\u00FA\u00E0a\u00F7\u00A5\u00FE\u0081\u00EC\u008D\u00C1\u00EB\u00A5[\u00D7n\u0086\u00E2\u00F1x\u00B3\u00AE\u00EB3t]\u00AF\"\x00\u009C\u00E7\u00CF\u00F5eZ\x16/\x1A\u00E9\u00DE\u00D6\u00E3\u00D9\u00B8u\u0093\u00ADcC\u00E7\u00CAL:\x13\u0089Ec\u0087\x01T\u0091\u00FE\u00DE\u00F3C\u00FB\u008E\x1C\u00B0O-C)\x05\u00A5\x14Z\u00AD\u0086J\u00A5|\u00AEP(,'u\r\u00F5]\u0093\x13\u0093\x00\x00\u00CB\u00B2`\u009A&L\u00D3\x04\x00x\u00BD5x42z\u00964\u00CF\u009F\u0087t:\u008DX,\u0086T*\u0085l6\x0B\u00C30`\x18\x06Ln\u00E2{4\u00DAB\u0092\u0089$\u00CA\u00E5\u00F2t\u0081s>M\u00C6\x18\u00CCJe\u0082|\u00FE8\u00CEUU\u0085\u00A6i\u00F0z\u00BD\u00A0\u0094BUU\u00B8\u00DDn\u0088\u00A2\u0088\u00CE\u00AE\u00F5G\u00C8\u009E\x03\u00FB\x16\u0097\u008AE\u0088\u00A2\bJ)\x14E\u0081,\u00CB\x10\x04\x01oBc\u00E6\u00B2\u00B6\u00E5\u008F\t\u00A5\u00F4\u009BO\u00D3Z\u00EF\u00DF\x1D\u00E6\u0091H\x04\u0089D\x02\u00AFCcx\u00FD\u00F2\u00D5\u00F8\u00F6\u009D;\u00EA\x05A\u00C8\x11\x00e\u00A7\u00D3\u00F9\u00A1{[\u008FK\u0096\u00E5\u00A0eYk\x1A\u009B\u00FCu\u00AD\u00ED+\u00DA\b!i\x00&a\u008Cq\u00C6XE\x10\u0084II\u0092\u00C2\u0092$\u0085l6[\u0092s^d\u008C\u0099\u008C1N\x02\u0081\x00\x02\u0081\x00\u00BA:6Tw\u00B4\u00AE\u00BE\u00BAvi\u00FB\u00B3\u00CE\u00F6u\x075M\u00E3S\u008E\x00\u00C0\u0082\u0086\u00E6\x17\u00B9d&\u00AD\u0088\u00F2\u00EE9M\u00B3\u00D7\u00963\u00FF.4xjypn\u00D0\x0B\x00da\u00D3\u0082\u00A3y#\u00BF\u00A6\u00F1P-r\u0083?\x11;9\x0E\u00E7\u00B0\tEu!\u00F7\u00FBO\x1A\x00\b3\u008C>\u00C5\u00EF\u0082\u00DE\u00F3\x03{}v\u009C\u009Ac\u0087\u00DF3\u0081b/\x03\u00CA@\u00CB\u00DC\u00E0~\u00C2-\u008ER@\u0082\u00EF\u0097\x1B[T76\u00CF\u00DA\u008D\u00B3\u00FE\u00CB\x18Xr\x1B%RB!\u00CFv\x11R%\u00A2\u0090\u00CD#\x13V0\u00F6U\u00C1\u00A7\u009F_p\u00F1\u00C9\x00N\f\u009D\u0086\u00DDf\u0087\u00DD!\u00FD\"3\u00DC\u008E\x1F\u00D6\u00B7\"\x12\u00C58\u00CE<e8~'\u0085+\u00EF\u00C2\u00F8\u00F2\u00E6\x1DL\u0097\x00w\u00B5\u00E7\x18q)J\u00A3\u00E2\x13\u00E1\x7F\u00E9\u0080\u00A2\u0094P\u00F12\u00D4\u00FD\x05\u00AA#&jf\u00AA\u00A1\u00D0\u00DB1\u0083\u00BC}\u00FF\u009ES^C\x1C\u0090\u00A2\u00F2s\x06\u00E5\x1E\u0083#V\u0082l\u00D5\x1C\u00FD\u00F8!\u00BC\n\x00\u00FE3Q\u00ED1M\u00DDQ\u00F8\u00BB\u00BF{/\u0097\u0096\u00B6r\u00A9m-\x0FQ@\u00C6k\u0082\x0FD\u00A2\u00E2\u00C0!\b\u00E2\\\u00A6\u00D9\u00E2\u008C\x0B2\u00E7\u0096\u00FD\u00B3?\u00CC\u00B2l\u00C9\u009E\u00D9\x12\u00E7|$K\u00DC\u00DCft[\u00941e\x1A\u0091%N\x19\"\u00CE\u00A1P`8A\u00B1<\u00B4R \u00F4\x16o{{\u00EBmo{\u00F7\u00C7\u0080\u00F8\u00C7\u0097s\u0092s\u00BEs\u00F2\u009D\u0093s\u0088\u00DB\u00ED\u00A6\u00DDn7\u00E7v\u00BB\u008D\u009D\u00B7ne~\u00F1\u00D1g\x1D\u00DF\x1D=\x16\u00FD\u00AB\u00FD\u00BA\u00E6t:5\u0097\u00CB\u00A5\u00B9\\.mxxX\u00EB\u00BA\u00D9\u00A956\u009C\u0089\x1E?\u00F6\u00C3h\u008F\u00A3\u00BB\u00CA\u00E5r\u00D9\u00C6\u00C6\u00C6tsw\u00E0\x1Es'\x7F\u00FD\u00D5\x11\u008FN\u00A7\u00BF\u00B7kOm\u00D1\u00D6m/R9y\u00B9\u00B0\u00D9l\u00E0y\x1E<\u00CF\u00C3b\u00B1 \u00E3\u0099%\u00DA\u00FA\r\u00A5T\u00D5\x0B\u00D5\u00A9\u00C6y\u00A6\u00E6s\u00BF6\u008E\x0B\x1E\u00E1%UU\x13\u00C8\u00DD\u00FE\u00BBE\u00BF75\u00DF\x7F\u00ED\u008D\u00DD1:\u00BD\x0E\u0084\u0090\u00B97\u00C6\u00B2,\x18\u0086\x01M\u00D3\u00A0i\x1A\f\u00C3P4M\u0083P\x04\u0084\x10\u0094WUP\x17\u00CF7\u00FD\u00E4\x1C\u00BC\u00FF&\u00F9\u00F3\u008F\u00CB\r\u00CB\n\u0097S\u0081@\x00\u00A2(B\x10\x04LOO\u00C3\u00EF\u00F7\u00C3\u00EF\u00F7#\x10\b@\u0096eH\u0092\x04Y\u0096\u00E7\u00FCP(\x04M\u00D3\u00B08=\u0095j\u00B9te\x1F\u00D1\u0080x\u00BD^\u008F\u00C7\u008F\x1FC\x14E\x04\x02\x01x\u00BD^\b\u0082\x00Q\x14\u00E7\n\u00CA\u00B2\u008C@ \x00EQ\u00A0\u00AA\u00EA\\\x13\u0086\u00E3 \u00FAE\u008E\u00A4.J\u00FD\u00B1\u00D7\u00D1\r\u008E\u00E3@\u00D34\x00\u0080eYp\x1C\x07\u0096e\u009F\u00965'u\u00D6\u0097$\t\u00B7{\u00FB`6\u009B\u00DBH\u00E5\u00E6\u00AA\u008F\x11\u00D5\u009A\u0087\u009DC0\u0099L\u00B0\u00D9lHIIARR\x12\u00ECv;\u00ACV+,\x16\x0B\x12\x12\x12\x10\x1F\x1F\x0F\u0093\u00C9\x04\u0093\u00C9\x04\u009E\u00E7!\u00F9$04\u00F3O\u00ED\u009E\u00BA\u00B7\t\u00C30\x13/\u00EF\u00DC\u00B1\u00A3`YA\u00E9\u00D5\u00CB-\u00FE\u00FE\x7F\u00EF@\x10\x04x<\x1E\u00F8|>\u00C8\u00B2\fEQ\u00A0(\u00CA\u00DC\u008C\u0086\u009CN\u00B4^n\t\u00A7,L\u00D9Y\u00B7\u00F7\u00F5\u00F2\u0098\u0098\u0098G\x04@\u0098\x10\x12\u0098o\u00B1\u00DC\u00D8\u00BE\u00E3\x15{\u00DE\u00D2gS\u00A6&\u00A76]o\u00BBv\u00E2B\u00E39\u00EFo\rg\u00B53\u00F5\r\u00DA\u00C5s\x17|\x1D\u00ED7\u009A&\u00C7'v\u00D9\x13\x13s\u009E\u00AF\u00DCh\u00B5\u00DA\u00ACg)\u008A\u009A\x06\u00A0\u00CC\u00BE\u0080\b\u00800EQ2\u00CB\u00B2\u00EE\u00E4\u0085\u00C9W\u00D6=\u00B7~oeMu\u00E2\u00A6-\u00D5\u00FA\u00AA-\u009B\u00F5\x1B*\u00CB\u00AD+\u008BWm\u00B3\u00D9\x17\u00D4\u00B3,;H\b\u00F1\x01\bI\u0092\u00A4J\u0092\x14%\x06\u0083\x01\x06\u0083\x01\x00\u00B4\x19D\x01\u00A8\x00\u00C2\x00\x14\x00Of\u00AC\x02 4\x13\u008B\u00CC\u00E4i\u00B3|b\u00B7\u00DB1\u008B\u008A\u00D2\n\u00A6\u00B4x\u00FD\u00FB%\u00CB\u008B\u00BD\u00ABsVh\u0085\u0099\u00F9\u00DA\u00CA\u00F4|meZ~\u00B4pI\u0081V\u0094\u00B3B+YV,\u0095\u00AF);P\u00BE\u00BE<\u00F6i.\x01\u0080\u0082\u00BC\u00E5t\u00DE\u00A2\u00AC6q\u00D2\x13\x0Ez\u00A5\u00CFu\u00D0\u00F1\x195i\u00C8:\u00BC\x18\u0099\u00BF$!\u00FBL2\u00B2\u00BFNE\u00DA\u00D6\u0085\u00D0\u0091\u00D88\u00FF\u0094\u00B8O\u00F4\b\u00C1\u00AC\u00E4\u008C\u00FE\u00B2ue\x1C\x00\u00905Ek\r\u0092G\x18\u00F3\u008Bb\t\x1B\u00A1a\u00DDf\u0086\u00F6\u00B3\u0084\u0087u\u00FD\u0090rG`Lv#.q\f\u00C1\u009CQ\u008C\u00D7\x0E\"x\u00DA\x0B\u00EB[f\u00E8\u00A8X\u00C8R \u00FB\u00C1=\u00A7\u0090\u009B\u0099k%\u00C2\u00C4\u00E4\u00D1\u0090\x12\u00B2Q!\n\u00DCF\x03\u00BC\u00AFz\u00A1\u00E3e\u00D4&\u00B28\u0094\x06\x1CLgq(\u0083\u00C5\u0081\u00C5\u00C0\u0081\u008Cj|\u0092\u00F5!J\u00EAJ\u00A0\u00DBn\x00\u00A5RP\u00C3\u00E18M\t\x1F!\f\u00A1\u00B3)B\x00\u008E\u0082\x14\u00D5\x10\u00BCd\u0086z~\x11\u00BC])\u0090\u00BCK\x11\x1F\u00F9\x00\u00BC\u00FA)\u00E0+\u0085\u00E5I\x05\nQ\u0081\u00B5\u00A1\x1A\x18Y\x1BBl\x18\x14E\u00A0F\"fBb\u00E9w\u0099X\x1A\x1A\x03D\x06\u00FC\u0088\x04\u00A6\u00E1~\"\u00E1\u00EA\u00FD(N\u00B7\u00FBp\u00B8\u00E58\x0E\u00B6\x1E\u00C5\u0089\u00B6Q\u00BCs\u00EAK\x14\u00EF\u00AFD\u00ED\u00F7\u00BB1r\u00F3.b8\x0E\u0094\u0081\u0086\u00817\u009E$}\x03wZM\u00E6\u00F8\u009D\u00AC\u0099\x01\u00A3R\u00D0_\u008D\u0082\u0093\u0082x\u00A8\x7F\u0084&\u00DF0\u00BE\x1D\x19\u00C17C#h\u009Cvb4n\x1C:MA\u00C2\r\x1A\u00AC/\n*\x1E\u00B0%Z\u00DE\u00EB\u00BE\u00DD[O\x00\u00A0\u00A7\u00AF\u00EF\x14\u00AF\u00E3c\u00CC&\u00E3\u00D9\x043\x03\u00EB\u00BD02\u009Ai,m\u008D\u00C3\u00AA\x1E3V\u00F7\u00CDG~\u009B\x01\u00E9\x17\x19,\u00E8\u008B\u0080\u00D7\x01\u00F3\r\u00F3Z\u00EDF\u00BB\u00BE\u00A3\u00C3\u00B1\x1F\u00C0\u00FF\u00EB\x07\u0080\u00CE\u00EE\u00DE\u00B0\u00C31\u00B0\u00DDq\u00ED\x01\x15\u00F1X\u00F4\u00AAh\u00DB O\x1ANN\x0F\u00D1\x0E\u00EF \u00DD#O\u0098\u00EA\u0083S\t5Q\u00AF\u00CD\u00E8hwQ]]\x03e\x7Fwv\x06g\u00F9\u00FF\r\x004\u0086\u00A2\u00B3d\u00E1\u00FA\u00B0\x00\x00\x00\x00IEND\u00AEB`\u0082"
                ;
                myInput ();
                function myInput (){
                myWindow = new Window ("dialog", "CUSTOM RADIAL BUTTONS");
                myWindow.orientation = "row";
                myWindow.graphics.backgroundColor = myWindow.graphics.newBrush (myWindow.graphics.BrushType.SOLID_COLOR, [0.55, 0.7, 0.3]);
                myWindow.minimumSize.width = 300;
                    radio_group = myWindow.add ("group");
                    radio_group.minimumSize.height = 300;
                    radio_group.alignment=["center","top"];
                    radio_group.orientation="column";
                    var myRadio= myWindow.add ("group");
                  myRadio.orientation="row";
                      V_SPRITES = 2;
                    var dy;
                      countSeven=1;
                      countEight=0;
                      countNine=0;
                var mySevenH =myRadio.add('image', undefined, pngButton, {state:0}),
                    iSize =mySevenH .image.size,
                    spriteHeight = iSize[1] / V_SPRITES;
                    var mySevenTxt=myRadio.add ("statictext", undefined, "TESTING ONE");
                mySevenH .size = [iSize[0], spriteHeight];
                mySevenH .onDraw = function(){
                    //find even on odd on the count
                    if(countSeven%2==0){
                        dy=0;
                        }
                    else{dy=22
                        }
                    this.graphics.drawImage(this.image,0,-dy,17,39);
                };
                var myEightH =myRadio.add('image', undefined, pngButton, {state:0}),
                    iSize =myEightH .image.size,
                    spriteHeight = iSize[1] / V_SPRITES;
                    var myEightTxt=myRadio.add ("statictext", undefined, "TESTING TWO");
                myEightH .size = [iSize[0], spriteHeight];
                myEightH .onDraw = function(){
                    //find even on odd on the count
                   
                    if(countEight%2==0){
                        dy=0;
                        }
                    else{dy=22
                        }
                    this.graphics.drawImage(this.image,0,-dy,17,39);
                };
                
                var myNineH =myRadio.add('image', undefined, pngButton, {state:0}),
                    iSize =myNineH .image.size,
                    spriteHeight = iSize[1] / V_SPRITES;
                    var myNineTxt=myRadio.add ("statictext", undefined, "TESTING THREE");
                myNineH .size = [iSize[0], spriteHeight];
                myNineH .onDraw = function(){
                    //find even on odd on the count
                    if(countNine%2==0){
                        dy=0;
                        }
                    else{dy=22
                        }
                    this.graphics.drawImage(this.image,0,-dy,17,39);
                };
                
                var mouseEventHandler = function(ev){
                    mypoo=this.properties.state = ('click'==ev.type);
                    //this.refresh();
                  countSeven=1;
                  countEight=0;
                  countNine=0;
                    //this.parent.layout.layout(true);
                    var wh = this.parent.size;
                        this.parent.size = [1+wh[0],1+wh[1]];
                        this.parent.size = [wh[0],wh[1]];
                        wh = null;
                        this.parent.size = [this.parent.size[0],this.parent.size[1]];
                      //this.refresh();
                   
                   
                   
                   
                };
                var mouseEventHandlerE = function(ev){
                    mypoo2=this.properties.state = ('click'==ev.type);
                    //this.refresh();
                  countSeven=0;
                  countEight=1;
                  countNine=0;
                    //this.parent.layout.layout(true);
                var wh = this.parent.size;
                        this.parent.size = [1+wh[0],1+wh[1]];
                        this.parent.size = [wh[0],wh[1]];
                        wh = null;
                        this.parent.size = [this.parent.size[0],this.parent.size[1]];
                      //this.refresh();
                   
                };
                var mouseEventHandlerN= function(ev){
                    mypoo3=this.properties.state = ('click'==ev.type);
                  countSeven=0;
                  countEight=0;
                  countNine=1;
                    //this.parent.layout.layout(true);
                        var wh = this.parent.size;
                        this.parent.size = [1+wh[0],1+wh[1]];
                        this.parent.size = [wh[0],wh[1]];
                        wh = null;
                        this.parent.size = [this.parent.size[0],this.parent.size[1]];
                        //this.refresh();
                   
                };
                mySevenH .addEventListener('click', mouseEventHandler);
                myEightH .addEventListener('click', mouseEventHandlerE);
                myNineH .addEventListener('click', mouseEventHandlerN);
                    //radio_group.alignChildren = "left";
                    //radio_group.children[2].value = true;
                    myRadio.children[0].alignment=["center","top"];
                    var myOKGroup =  myWindow.add ("group");
                    myOKGroup.orientation = "column";
                    myOKGroup.minimumSize.height = 80;
                    myOKGroup.add("button", [15,80,88,110],  "OK");
                    myOKGroup.add("button", [15,80,88,110],  "CANCEL");
                    myOKGroup.alignment=["center","bottom"];
                
                }
                var myResult = myWindow.show();
                
                • 5. Re: Broken Buttons in CC
                  Gonterman1201 Level 1

                  I tried this in CS6 and it worked using the size change but does not work in CC.