home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2011 May / ME_2011_05.iso / Galileo-Video-Tutorial / system / player.swf / scripts / controller / parse / ParseDictionaryXmlCommand.as < prev    next >
Encoding:
Text File  |  2010-11-30  |  3.9 KB  |  74 lines

  1. package controller.parse
  2. {
  3.    import com.je.model.Assets;
  4.    import com.je.model.DictionaryModel;
  5.    import org.robotlegs.mvcs.Command;
  6.    
  7.    public class ParseDictionaryXmlCommand extends Command
  8.    {
  9.       [Inject]
  10.       public var assets:Assets;
  11.       
  12.       public function ParseDictionaryXmlCommand()
  13.       {
  14.          super();
  15.       }
  16.       
  17.       override public function execute() : void
  18.       {
  19.          var _loc1_:XMLList = new XMLList(this.assets.getAssetByLinkedID("dictionaryXml"));
  20.          var _loc2_:DictionaryModel = DictionaryModel.getInstance();
  21.          var _loc3_:XMLList = _loc1_.headNavigation;
  22.          _loc2_.indexLabel = _loc3_.indexLabel;
  23.          _loc2_.bookmarksLabel = _loc3_.bookmarksLabel;
  24.          _loc2_.helpLabel = _loc3_.helpLabel;
  25.          _loc2_.settingsLabel = _loc3_.settingsLabel;
  26.          _loc2_.inhaltLabel = _loc3_.inhaltLabel;
  27.          _loc2_.startLabel = _loc3_.startLabel;
  28.          _loc2_.searchInputLabel = _loc1_.searchInputLabel;
  29.          _loc2_.minLabel = _loc1_.minLabel;
  30.          _loc2_.stdLabel = _loc1_.stdLabel;
  31.          _loc2_.spielDauerLabel = _loc1_.spielDauerLabel;
  32.          _loc2_.chapterLabel = _loc1_.tableOfContents.chapterLabel;
  33.          _loc2_.videoLabel = _loc1_.tableOfContents.videoLabel;
  34.          _loc2_.indexWindowLabel = _loc1_.windows.indexWindowLabel;
  35.          _loc2_.bookmarkWindowLabel = _loc1_.windows.bookmarkWindowLabel;
  36.          _loc2_.emptybookmarktext = _loc1_.windows.emptybookmarktext;
  37.          _loc2_.emptybookmarkimage = _loc1_.windows.emptybookmarkimage;
  38.          _loc2_.emptybookmarkimagelabel = _loc1_.windows.emptybookmarkimagelabel;
  39.          _loc2_.helpWindowLabel = _loc1_.windows.helpWindowLabel;
  40.          _loc2_.settingsWindowLabel = _loc1_.windows.settingsWindowLabel;
  41.          _loc2_.searchWindowLabel = _loc1_.windows.searchWindowLabel;
  42.          _loc2_.appellLabel = _loc1_.indexWindow.appellLabel;
  43.          _loc2_.trefferLabel = _loc1_.indexWindow.trefferLabel;
  44.          _loc2_.ergebnisseLabel = _loc1_.indexWindow.ergebnisseLabel;
  45.          _loc2_.startOptionLabel.push(_loc1_.settingsWindow.startOptionenLabel.headLabel);
  46.          _loc2_.startOptionLabel.push(_loc1_.settingsWindow.startOptionenLabel.itemLabel);
  47.          _loc2_.smoothingLabel.push(_loc1_.settingsWindow.smoothingLabel.headLabel);
  48.          _loc2_.smoothingLabel.push(_loc1_.settingsWindow.smoothingLabel.itemLabel);
  49.          _loc2_.historyLabel.push(_loc1_.settingsWindow.historyLabel.headLabel);
  50.          _loc2_.historyLabel.push(_loc1_.settingsWindow.historyLabel.itemLabel);
  51.          _loc2_.bookmarkButtonLabel = _loc1_.videoPlayer.bookmarkButtonLabel;
  52.          _loc2_.soundButtonLabel = _loc1_.videoPlayer.soundButtonLabel;
  53.          _loc2_.exerciseMaterialButtonLabel = _loc1_.videoPlayer.exerciseMaterialButtonLabel;
  54.          _loc2_.exerciseMaterialEmptyText = _loc1_.videoPlayer.exerciseMaterialEmptyText;
  55.          _loc2_.modiButtonLabel = _loc1_.videoPlayer.modiButtonLabel;
  56.          _loc2_.hilfeHeadline = _loc1_.hilfeHeadline;
  57.          _loc2_.fullscreenDisplayLabel1 = _loc1_.videoPlayer.fullscreenDisplay.label1;
  58.          _loc2_.fullscreenDisplayLabel2 = _loc1_.videoPlayer.fullscreenDisplay.label2;
  59.          _loc2_.fullscreenDisplayLabel3 = _loc1_.videoPlayer.fullscreenDisplay.label3;
  60.          _loc2_.bookmarkWindowTitle = _loc1_.bookmarkWindow.title;
  61.          _loc2_.bookmarkWindowBody = _loc1_.bookmarkWindow.body;
  62.          _loc2_.bookmarkWindowConfirm = _loc1_.bookmarkWindow.confirm;
  63.          _loc2_.bookmarkWindowCancel = _loc1_.bookmarkWindow.cancel;
  64.          _loc2_.defaultModi = _loc1_.videoPlayer.modi.standard;
  65.          _loc2_.fullscreenModi = _loc1_.videoPlayer.modi.fullscreen;
  66.          _loc2_.miniModi = _loc1_.videoPlayer.modi.mini;
  67.          _loc2_.nextLabel = _loc1_.miniMode.next;
  68.          _loc2_.prevLabel = _loc1_.miniMode.prev;
  69.          _loc2_.jumpToLastPosLabel = _loc1_.jumpToLastPos;
  70.       }
  71.    }
  72. }
  73.  
  74.