<?php

$cat_name="Flash tutorials - Insert a sound effect in flash";

?>

<html>





<head>

<title><?php print $cat_name; ?></title>

<meta http-equiv=Content-Type content="text/html; charset=windows-1251">

<link href="css/style.css" type="text/css" rel="stylesheet">







</head>

<body>

<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><?php include("top.php"); ?>
        <table width="100%" border="0" cellspacing="0" cellpadding="5">
          <tr>
            <td valign="top"><?php include("nav_faq.php"); ?>
              <h5><span class="headings">How to insert a sound effect</span> in flash</h5>
              <table width="710" cellpadding="4" cellspacing="0">
                <tr valign="top" class="text">
                  <td width="20"><p><strong>1. </strong></p></td>
                  <td width="690"><p>Select the button in the Library panel, or else you get default buttons in the &quot;Common Libraries&quot; to go to common libraries go to Windows - Common Libraries<br>
                          <br>
                          <br>
                          <img src="images/ques6-img1.jpg" width="427" height="325"><br>
                          <br>
                          <br>
        Then it will open up the common library panel, there you will find a lot of buttons, select a button and just drag and drop to your movie<br>
        <br>
        <br>
        <img src="images/ques6-img2.jpg" width="719" height="325"><br>
        <br>
        <br>
                  </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td width="20"><p><strong>2. </strong></p></td>
                  <td width="690"><p>Right click on the image, and select EDIT.....then it will open up the button editing area. There you will find four main Keyframes as Up, Over, Down, Hit. <br>
                          <br>
                          <br>
                          <img src="images/ques6-img3.jpg" width="542" height="300"><br>
                          <br>
                          <br>
                  </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td width="20"><p><strong>3. </strong></p></td>
                  <td width="690"><p>In the button's Timeline, add a new layer for sound. For example say that you want your button to give a sound efect when you mouse over the button. Then in the sound layer which you created now, insert a keyframe in the second frame named &quot;over&quot; as shown below in the image.<br>
                          <br>
                          <img src="images/ques6-img4.jpg" width="515" height="207"><br>
                          <br>
                          <br>
                  </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td><p><strong>4.</strong></p></td>
                  <td><p>Then import the sound file to the library, the sound you want to add to the button when mouse over it.<br>
                          <br>
        To import the sound file, go to import - browse and double click. Then it will be placed in your library panel. To open up the library panel go to windows - Library<br>
        <br>
        <img src="images/ques6-img5.jpg" width="375" height="350"><br>
        <br>
        Then in the library panel you will find the sound file. <br>
        <br>
                  </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td><p><strong>5.</strong></p></td>
                  <td><p>Ok now go to Insert - New Symbol</p>
                      <p><img src="images/ques6-img6.jpg" width="424" height="190"></p>
                      <p> then it will open up a small window, from there you can give a name to your sound movie. Im gonna give as &quot;mc_btn-sound&quot; and from the you will find they have given three options as Movie Clip, Button, and Graphics. Tick &quot;Movie Clip&quot; from there and press OK.<br>
                          <br>
                          <br>
                          <img src="images/ques6-img7.jpg" width="519" height="216"><br>
                          <br>
                          <br>
                    </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td><p><strong>6.</strong></p></td>
                  <td><p>Now you are in the first layer, now go to the library panel and select the sound file and drag and drop to the movie place. Then there you will find the property bar below the movie, from there you get a option called &quot;Loop&quot; set it to &quot;1&quot;.<br>
                          <br>
                          <br>
                          <img src="images/ques6-img8.jpg" width="706" height="193"><br>
                          <br>
                          <br>
        Ok now go back to the scene again, by clicking &quot;scene&quot;. And again double click on the button, then there you will find you have added a new layer for sound, make sure it is empty <br>
        <br>
        <br>
        <img src="images/ques6-img4.jpg" width="515" height="207"><br>
        <br>
        select over state Keyframe as shown on the image, then go to your library panel from there you will find the movie clip you made for the sound effect. Mine is named &quot;mc_btn-sound&quot;. Drag and drop it to the movie, make sure you are in the &quot;over&quot; frame. </p>
                      <p>Ok the sound effect is added to your button. now press Ctrl+Enter to prevew your movie... </p></td>
                </tr>
              </table>                            </td>
          </tr>
      </table></td>
  </tr>
</table>
</body>

</html>

