title: HTML5 flash canva can't stop my sound with "mouseout" function
body: <p>I found on the Adobe forum an answer to some of my questions about coding MouseOver in "flash html5 mycanva.fla" to trigger a sound when hovering a button. <a href="https://forums.adobe.com/thread/1595395?start=0&amp;tstart=0" rel="nofollow">see here</a></p>
  
  <p>The thing is, i'm stuck with the "MouseOut function" when it comes to stop the sound played when you MouseOut the button !</p>
  
  <p>The cherry on top would be to pause the sound on mouseout and playit from the point it was paused when mouseover again. But i don't want to appear too greedy ;-)</p>
  
  <p>Here's the code i used in my_flash_canva.fla:</p>
  
  <pre><code>var frequency = 3;  
  stage.enableMouseOver(frequency);  
  this.mybutton.addEventListener("mouseover", fl_MouseOverHandler);  
  
  function fl_MouseOverHandler(){  
      playSound("monstres");  
      //linked sound from library by dble clicking on it and named a link in the blank area.Indeed, the action script panel in "mysound" properties panel is greyed..  
      //works like a charm   
  }  
  
  this.mybutton.addEventListener("mouseout", fl_MouseOutHandler);  
  function fl_MouseOutHandler()  {  
      stopSound("monstres");  
      // doesn't work  
  }  
  </code></pre>
  
  <p>Using flash pro cc 2014. I guess i must be missing something or bad syntaxing but in my mind what does work with playSound("xxx") should work with stopSound("xxx") . But apparently it 's not that simple. Any clue is welcome, I would be grateful. Thanx a lot.</p>
  
  <p>Olivier.</p>