home *** CD-ROM | disk | FTP | other *** search
- package controller.parse
- {
- import com.je.model.Assets;
- import com.je.model.DictionaryModel;
- import org.robotlegs.mvcs.Command;
-
- public class ParseDictionaryXmlCommand extends Command
- {
- [Inject]
- public var assets:Assets;
-
- public function ParseDictionaryXmlCommand()
- {
- super();
- }
-
- override public function execute() : void
- {
- var _loc1_:XMLList = new XMLList(this.assets.getAssetByLinkedID("dictionaryXml"));
- var _loc2_:DictionaryModel = DictionaryModel.getInstance();
- var _loc3_:XMLList = _loc1_.headNavigation;
- _loc2_.indexLabel = _loc3_.indexLabel;
- _loc2_.bookmarksLabel = _loc3_.bookmarksLabel;
- _loc2_.helpLabel = _loc3_.helpLabel;
- _loc2_.settingsLabel = _loc3_.settingsLabel;
- _loc2_.inhaltLabel = _loc3_.inhaltLabel;
- _loc2_.startLabel = _loc3_.startLabel;
- _loc2_.searchInputLabel = _loc1_.searchInputLabel;
- _loc2_.minLabel = _loc1_.minLabel;
- _loc2_.stdLabel = _loc1_.stdLabel;
- _loc2_.spielDauerLabel = _loc1_.spielDauerLabel;
- _loc2_.chapterLabel = _loc1_.tableOfContents.chapterLabel;
- _loc2_.videoLabel = _loc1_.tableOfContents.videoLabel;
- _loc2_.indexWindowLabel = _loc1_.windows.indexWindowLabel;
- _loc2_.bookmarkWindowLabel = _loc1_.windows.bookmarkWindowLabel;
- _loc2_.emptybookmarktext = _loc1_.windows.emptybookmarktext;
- _loc2_.emptybookmarkimage = _loc1_.windows.emptybookmarkimage;
- _loc2_.emptybookmarkimagelabel = _loc1_.windows.emptybookmarkimagelabel;
- _loc2_.helpWindowLabel = _loc1_.windows.helpWindowLabel;
- _loc2_.settingsWindowLabel = _loc1_.windows.settingsWindowLabel;
- _loc2_.searchWindowLabel = _loc1_.windows.searchWindowLabel;
- _loc2_.appellLabel = _loc1_.indexWindow.appellLabel;
- _loc2_.trefferLabel = _loc1_.indexWindow.trefferLabel;
- _loc2_.ergebnisseLabel = _loc1_.indexWindow.ergebnisseLabel;
- _loc2_.startOptionLabel.push(_loc1_.settingsWindow.startOptionenLabel.headLabel);
- _loc2_.startOptionLabel.push(_loc1_.settingsWindow.startOptionenLabel.itemLabel);
- _loc2_.smoothingLabel.push(_loc1_.settingsWindow.smoothingLabel.headLabel);
- _loc2_.smoothingLabel.push(_loc1_.settingsWindow.smoothingLabel.itemLabel);
- _loc2_.historyLabel.push(_loc1_.settingsWindow.historyLabel.headLabel);
- _loc2_.historyLabel.push(_loc1_.settingsWindow.historyLabel.itemLabel);
- _loc2_.bookmarkButtonLabel = _loc1_.videoPlayer.bookmarkButtonLabel;
- _loc2_.soundButtonLabel = _loc1_.videoPlayer.soundButtonLabel;
- _loc2_.exerciseMaterialButtonLabel = _loc1_.videoPlayer.exerciseMaterialButtonLabel;
- _loc2_.exerciseMaterialEmptyText = _loc1_.videoPlayer.exerciseMaterialEmptyText;
- _loc2_.modiButtonLabel = _loc1_.videoPlayer.modiButtonLabel;
- _loc2_.hilfeHeadline = _loc1_.hilfeHeadline;
- _loc2_.fullscreenDisplayLabel1 = _loc1_.videoPlayer.fullscreenDisplay.label1;
- _loc2_.fullscreenDisplayLabel2 = _loc1_.videoPlayer.fullscreenDisplay.label2;
- _loc2_.fullscreenDisplayLabel3 = _loc1_.videoPlayer.fullscreenDisplay.label3;
- _loc2_.bookmarkWindowTitle = _loc1_.bookmarkWindow.title;
- _loc2_.bookmarkWindowBody = _loc1_.bookmarkWindow.body;
- _loc2_.bookmarkWindowConfirm = _loc1_.bookmarkWindow.confirm;
- _loc2_.bookmarkWindowCancel = _loc1_.bookmarkWindow.cancel;
- _loc2_.defaultModi = _loc1_.videoPlayer.modi.standard;
- _loc2_.fullscreenModi = _loc1_.videoPlayer.modi.fullscreen;
- _loc2_.miniModi = _loc1_.videoPlayer.modi.mini;
- _loc2_.nextLabel = _loc1_.miniMode.next;
- _loc2_.prevLabel = _loc1_.miniMode.prev;
- _loc2_.jumpToLastPosLabel = _loc1_.jumpToLastPos;
- }
- }
- }
-
-