home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 August / TommyVideo.iso / flash / support / product_specification.swf / scripts / frame_4 / DoAction.as
Encoding:
Text File  |  2003-06-08  |  1.1 KB  |  47 lines

  1. function translate()
  2. {
  3.    switch(_level1._root.lang)
  4.    {
  5.       case "en":
  6.          gotoAndStop(4);
  7.          break;
  8.       case "de":
  9.          gotoAndStop(5);
  10.          break;
  11.       case "hr":
  12.          gotoAndStop(6);
  13.          break;
  14.       default:
  15.          gotoAndStop(4);
  16.    }
  17. }
  18. function setGlobalStyleFormat()
  19. {
  20.    globalStyleFormat.face = 131179;
  21.    globalStyleFormat.arrow = 0;
  22.    globalStyleFormat.darkshadow = 0;
  23.    globalStyleFormat.shadow = 0;
  24.    globalStyleFormat.highlight = 0;
  25.    globalStyleFormat.highlight3D = 0;
  26.    globalStyleFormat.scrollTrack = 0;
  27.    globalStyleFormat.selection = 0;
  28.    globalStyleFormat.textSelected = 0;
  29.    globalStyleFormat.textColor = 16777215;
  30.    globalStyleFormat.textFont = "supertext";
  31.    globalStyleFormat.embedFonts = true;
  32.    globalStyleFormat.textSize = 8;
  33.    globalStyleFormat.applyChanges();
  34. }
  35. if(_root.specificationFromVolume)
  36. {
  37.    btnBack._visible = true;
  38. }
  39. else
  40. {
  41.    btnBack._visible = false;
  42. }
  43. setGlobalStyleFormat();
  44. pane.setScrollContent("supportContent");
  45. translate();
  46. stop();
  47.