home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2011 May / ME_2011_05.iso / Galileo-Video-Tutorial / system / player.swf / scripts / data / parser / BoxNavigationParser.as next >
Encoding:
Text File  |  2010-11-30  |  812 b   |  30 lines

  1. package data.parser
  2. {
  3.    import de.galileopress.vt.navigation.NavigationBoxItemVO;
  4.    
  5.    public class BoxNavigationParser
  6.    {
  7.       public function BoxNavigationParser()
  8.       {
  9.          super();
  10.       }
  11.       
  12.       public function parse(param1:XMLList) : Vector.<NavigationBoxItemVO>
  13.       {
  14.          var _loc3_:XML = null;
  15.          var _loc4_:NavigationBoxItemVO = null;
  16.          var _loc2_:Vector.<NavigationBoxItemVO> = new Vector.<NavigationBoxItemVO>();
  17.          for each(_loc3_ in param1)
  18.          {
  19.             _loc4_ = new NavigationBoxItemVO();
  20.             _loc4_.label = _loc3_.label;
  21.             _loc4_.subLabel = _loc3_.subLabel;
  22.             _loc4_.description = _loc3_.description;
  23.             _loc2_.push(_loc4_);
  24.          }
  25.          return _loc2_;
  26.       }
  27.    }
  28. }
  29.  
  30.