title: flash AS3 preserve slider value
body: <p>I have a slider that control the volume of the background music.</p>
  
  <p>In the slider component parameter value: I set it as 5.</p>
  
  <p>When I slide the slider to 2 and navigate to other movie clip. And subsequently return to the slider the value is 5. How can i store the value of 2 instead of showing 5?     </p>
  
  <pre><code>import fl.events.SliderEvent;
  import flash.media.SoundTransform;
  
  var myTransform = new SoundTransform();
  
  scMC.addEventListener(SliderEvent.THUMB_DRAG, changeVolume);
  
  function changeVolume(event:SliderEvent):void{
  MovieClip(this.root).myChannel.soundTransform = myTransform;
  myTransform.volume = scMC.value;
  volumeText.text = "Volume is " + scMC.value;
  
  }
  </code></pre>