       _movie = movie
       this.bitratePolicy = bitratePolicy
       this.enableRTMP = enableRTMP
-      
+
+      connection.listener = this
+
       Stat.view(movie.id)
 
-      connection.listener = this
+      try
+        { sharedObject = SharedObject.getLocal("player") }
+      catch (error : Error)
+        {}
+
+      if (sharedObject && sharedObject.size > 0)
+        volume = sharedObject.data["volume"]
+      else
+        volume = DEFAULT_VOLUME
     }
 
     public function get movie() : Movie


    private const finishingListeners : Array = []

    private var connection : FlashNetConnection
    private var _movie : Movie
    private var bitratePolicy : BitratePolicy

    private var stream : FlashNetStream = null
    private var metadata : Object = null

    private var _volume : Number = NaN
    private var savedVolume : Number = 0
    private var _paused : Boolean = false
    private var _buffering : Boolean = false
