topical media & game development

talk show tell print

actionscript-video-com-flashconnections-ui-component-mediaPlayer-ifc-IMediaPlayerModel.ax

actionscript-video-com-flashconnections-ui-component-mediaPlayer-ifc-IMediaPlayerModel.ax [swf] flex


  
Flash Video for Professionals: MVC Player http://www.flashconnections.com
author: James O'Reilly

  
  package com.flashconnections.ui.component.mediaPlayer.ifc
  {
          import flash.net.NetConnection;
          import flash.events.NetStatusEvent;
          
          import com.flashconnections.pattern.mvc.ifc.IModel;
          import com.flashconnections.ui.component.mediaPlayer.NetStreamExt;
          import com.flashconnections.ui.component.mediaPlayer.playlist.ifc.IPlaylist;
          
          public interface @ax-actionscript-video-com-flashconnections-ui-component-mediaPlayer-ifc-IMediaPlayerModel extends IModel 
          {
                  function setConnection(val:NetConnection):void;
                  function getConnection():NetConnection;
                  function setStream(val:NetStreamExt):void;
                  function getStream():NetStreamExt;
                  
                  function play():void;
                  function playMedia(path:String):void;
                  function pause():void;
                  function stop():void;
                  function setMediaPosition(val:Number):void;
                  function getMediaPosition():Number;
                  function setVolume(val:Number):void;
                  function getVolume():Number;        
                  
                  function setPlaylist(val:IPlaylist):void;
                  function getPlaylist():IPlaylist;
                  function playNext():void;
                  function playPrevious():void;
                  
                  function onConnNetStatus(event:NetStatusEvent):void;
          }
  }


(C) Æliens 27/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.