title: Dynamically positioning a sound with panning in AS3
body: <p>I'm trying to make a minigame in Flash about a mosquito getting smashed and I want the mosquito sound to pan as if it was in front of the player (so if the mosquito is at the right of the screen pan would be 1, and -1 in the left).</p>
  
  <p>Problem is, I can only use the sound transform in the play method, which leaves me with many sounds playing if I want to update the position of the mosquito (which happens on enterframe, 24fps). </p>
  
  <p>tl;dr, is it possible to pan sounds dynamically in flash?</p>