home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 September / PCWorld_2002-09_cd.bin / Akce / Quartet / Main / SPEECH.SWF / scripts / frame_7 / DoAction.as
Text File  |  2002-07-11  |  867b  |  27 lines

  1. function itemChange(obsahID, yPosun)
  2. {
  3.    _root.speech.list.gotoAndStop(obsahID + 1);
  4.    _root.speech.obsah.gotoAndStop(obsahID);
  5.    _root.speech.obsah2.gotoAndStop(obsahID);
  6.    _root.speech.scroller.deslocamento_max = yPosun;
  7.    "_root.speech.scroller.carro:skok"(0);
  8.    if(eval("_root.speech:snd") == 1)
  9.    {
  10.       stopAllSounds();
  11.       _root.speech.sound.gotoAndPlay(obsahID * 2 + 1);
  12.    }
  13. }
  14. _root.speech.clickDisabled._visible = 0;
  15. loadMovie("help_speech.swf","_root.speech.wHelp");
  16. _root.speech.wHelp._visible = 0;
  17. _root.speech.wHelp._y = 1000;
  18. _root.speech.obsah.gotoAndStop(100);
  19. _root.speech.obsah2.gotoAndStop(100);
  20. _root.speech.sound.gotoAndStop(100);
  21. _root.speech.list.gotoAndStop(1);
  22. "_root.speech.scroller.carro:skok"(0);
  23. set("_root.speech:snd",0);
  24. _root.speech.bSnd.gotoAndStop("disabled");
  25. stopAllSounds();
  26. itemChange(1,30);
  27.