home *** CD-ROM | disk | FTP | other *** search
- function setGlobalStyleFormat()
- {
- globalStyleFormat.face = 16750899;
- globalStyleFormat.arrow = 0;
- globalStyleFormat.darkshadow = 0;
- globalStyleFormat.shadow = 0;
- globalStyleFormat.highlight = 0;
- globalStyleFormat.highlight3D = 0;
- globalStyleFormat.scrollTrack = 0;
- globalStyleFormat.selection = 0;
- globalStyleFormat.textSelected = 0;
- globalStyleFormat.textColor = 16777215;
- globalStyleFormat.textFont = "supertext";
- globalStyleFormat.embedFonts = true;
- globalStyleFormat.textSize = 8;
- globalStyleFormat.applyChanges();
- }
- function translate()
- {
- _root.itemCurrent = parseInt(_level1._root.menuSubLabel.slice(_level1._root.menuSubLabel.length - 1,_level1._root.menuSubLabel.length));
- _root.itemNext = _root.itemCurrent + 1;
- _root.itemPrevious = _root.itemCurrent - 1;
- _root.itemText = _level1._root.menuSubLabel.slice(0,_level1._root.menuSubLabel.length - 1);
- if(_root.itemPrevious == 0)
- {
- btnPrevious._visible = false;
- separator._visible = false;
- }
- if(_root.itemCurrent == _level1._root.maxVolumes)
- {
- btnNext._visible = false;
- separator._visible = false;
- }
- btnBuy.label.autoSize = true;
- btnBuyBundle.label.autoSize = true;
- btnPrevious.label.autoSize = true;
- btnNext.label.autoSize = true;
- if(_level1._root.lang == "en")
- {
- btnBuy.btnText = "ORDER VOLUME " + _root.itemCurrent + " DVD-ROM";
- btnBuyBundle.btnText = "ORDER BUNDLE AND SAVE $100";
- btnPrevious.btnText = "<< VOLUME " + _root.itemPrevious;
- btnNext.btnText = "VOLUME " + _root.itemNext + " >>";
- }
- else if(_level1._root.lang == "hr")
- {
- btnBuy.btnText = "NARUÈITE IZDANJE " + _root.itemCurrent + " DVD-ROM";
- btnBuyBundle.btnText = "NARUÈITE SVE I UŠTEDITE $100";
- btnPrevious.btnText = "<< IZDANJE " + _root.itemPrevious;
- btnNext.btnText = "IZDANJE " + _root.itemNext + " >>";
- }
- else if(_level1._root.lang == "de")
- {
- btnBuy.btnText = "AUSGABE " + _root.itemCurrent + " DVD-ROM ORDNEN";
- btnBuyBundle.btnText = "ALLES ORDNEN UND SPARREN $100";
- btnPrevious.btnText = "<< AUSGABE " + _root.itemPrevious;
- btnNext.btnText = "AUSGABE " + _root.itemNext + " >>";
- }
- btnBuy.label._x = 6;
- btnBuyBundle.label._x = 6;
- btnPrevious.label._x = Math.round((btnPrevious._width - btnPrevious.label._width) / 2);
- btnNext.label._x = Math.round((btnNext._width - btnNext.label._width) / 2);
- }
- this.translate();
- video = "";
- setGlobalStyleFormat();
- myGallery.setTnTitleStyle("title");
- stop();
-