home *** CD-ROM | disk | FTP | other *** search
/ Japan Image Selection - A Visual Education Tool / JapanImageSelect.iso / pc / html / show / slideshow02.swf / scripts / DefineButton2_107 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2004-03-05  |  1.3 KB  |  74 lines

  1. on(release){
  2.    if(image.s == 2)
  3.    {
  4.       stopAllSounds();
  5.       image.gotoAndPlay("s1");
  6.    }
  7.    if(image.s == 3)
  8.    {
  9.       stopAllSounds();
  10.       image.gotoAndPlay("s2");
  11.    }
  12.    if(image.s == 4)
  13.    {
  14.       stopAllSounds();
  15.       image.gotoAndPlay("s3");
  16.    }
  17.    if(image.s == 5)
  18.    {
  19.       stopAllSounds();
  20.       image.gotoAndPlay("s4");
  21.    }
  22.    if(image.s == 6)
  23.    {
  24.       stopAllSounds();
  25.       image.gotoAndPlay("s5");
  26.    }
  27.    if(image.s == 7)
  28.    {
  29.       stopAllSounds();
  30.       image.gotoAndPlay("s6");
  31.    }
  32.    if(image.s == 8)
  33.    {
  34.       stopAllSounds();
  35.       image.gotoAndPlay("s7");
  36.    }
  37.    if(image.s == 9)
  38.    {
  39.       stopAllSounds();
  40.       image.gotoAndPlay("s8");
  41.    }
  42.    if(image.s == 10)
  43.    {
  44.       stopAllSounds();
  45.       image.gotoAndPlay("s9");
  46.    }
  47.    if(image.s == 11)
  48.    {
  49.       stopAllSounds();
  50.       image.gotoAndPlay("s10");
  51.    }
  52.    if(image.s == 12)
  53.    {
  54.       stopAllSounds();
  55.       image.gotoAndPlay("s11");
  56.    }
  57.    if(image.s == 13)
  58.    {
  59.       stopAllSounds();
  60.       image.gotoAndPlay("s12");
  61.    }
  62.    if(image.s == 14)
  63.    {
  64.       stopAllSounds();
  65.       image.gotoAndPlay("s13");
  66.    }
  67.    if(image.s == 15)
  68.    {
  69.       stopAllSounds();
  70.       image.gotoAndPlay("s14");
  71.    }
  72.    bt_play.gotoAndStop(1);
  73. }
  74.