title: Play a frame of a Movieclip when MOUSE_OVER
body: <p>I have a map with different countries. When i hover over one of the countries, i want it to play a certain frame of a movieclip. I've made a movieclip for each country, which has 2 frames. The 1. frame is just the picture of the country like it appears on the map. Frame 2 is the country with the name over it. The second frame contains a stop(); Here is my code:</p>
  
  <pre><code>rømskog.addEventListener(MouseEvent.MOUSE_OVER,mover);
  halden.addEventListener(MouseEvent.MOUSE_OVER,mover);
  askim.addEventListener(MouseEvent.MOUSE_OVER,mover);
  rømskog.addEventListener(MouseEvent.MOUSE_OUT,outer);
  halden.addEventListener(MouseEvent.MOUSE_OUT,outer);
  askim.addEventListener(MouseEvent.MOUSE_OUT,outer);
  
  function mover(e:MouseEvent):void {
     gotoAndPlay(2);
  }
  
  function outer(e:MouseEvent):void {
     gotoAndPlay(1);
  }
  </code></pre>
  
  <p>I know this code is incorrect, but i'm struggling to solve the problem. My movieclip starts automatic also, as the name of the country is visiable from the start. If somebody could learn me in the easiest way possible i would be very happy!</p>