home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 86 / PIWD86.iso / pc / contents / flash / utilities / setupanimfx.exe / #setuppath# / interfacedemo.swf / scripts / DefineButton2_447 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2003-09-12  |  792 b   |  28 lines

  1. on(release){
  2.    _root.interfaceholder.y1 = _root.interfaceholder.y1 * 1 + 5;
  3.    _root.interfaceholder.y2 = _root.interfaceholder.y2 * 1 + 5;
  4.    _root.interfaceholder.y3 = _root.interfaceholder.y3 * 1 + 5;
  5.    _root.interfaceholder.y4 = _root.interfaceholder.y4 * 1 + 5;
  6.    _root.interfaceholder.y5 = _root.interfaceholder.y5 * 1 + 5;
  7.    if(300 < _root.interfaceholder.y1)
  8.    {
  9.       _root.interfaceholder.y1 = 300;
  10.    }
  11.    if(300 < _root.interfaceholder.y2)
  12.    {
  13.       _root.interfaceholder.y2 = 300;
  14.    }
  15.    if(300 < _root.interfaceholder.y3)
  16.    {
  17.       _root.interfaceholder.y3 = 300;
  18.    }
  19.    if(300 < _root.interfaceholder.y4)
  20.    {
  21.       _root.interfaceholder.y4 = 300;
  22.    }
  23.    if(300 < _root.interfaceholder.y5)
  24.    {
  25.       _root.interfaceholder.y5 = 300;
  26.    }
  27. }
  28.