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

  1. package controller
  2. {
  3.    import com.je.model.ApplicationModel;
  4.    import de.galileopress.vt.events.StoreEvent;
  5.    import org.robotlegs.mvcs.Command;
  6.    
  7.    public class SetVideoSmoothingCommand extends Command
  8.    {
  9.       [Inject]
  10.       public var applicationModel:ApplicationModel;
  11.       
  12.       [Inject]
  13.       public var storeEvent:StoreEvent;
  14.       
  15.       public function SetVideoSmoothingCommand()
  16.       {
  17.          super();
  18.       }
  19.       
  20.       override public function execute() : void
  21.       {
  22.          var _loc1_:String = this.applicationModel.trainingInfo.isbn;
  23.          SharedObjectController.getInstance(_loc1_).smoothVideos = this.storeEvent.value;
  24.       }
  25.    }
  26. }
  27.  
  28.