<?php

$cat_name="Flash tutorial- Insert an image 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>How to insert background&nbsp;music 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>create a new layer, and name it as background-sound. <br>
                          <br>
                          <img src="images/ques4-img7.jpg" width="614" height="327"><br>
                          <br>
                          <br>
        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. you will have to bring two buttons to the movie one is for play sound and other one is for stop sound <br>
        <br>
        <br>
                  </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td width="20"><p><strong>2. </strong></p></td>
                  <td width="690"><p>Then import the sound file to the library, the sound you want to add to the background.<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>
        <br>
                  </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td width="20"><p><strong>3. </strong></p></td>
                  <td width="690"><p>Now you are in the background sound layer, now select the first frame, Then there you will find the property bar below the movie, from there select the sound file you imported and you get a option called &quot;Loop&quot; set it to &quot;999&quot; as shown below in the image.<br>
                          <br>
                          <br>
                          <img src="images/ques7-img1.jpg" width="706" height="193"><br>
                          <br>
        now just press Ctrl+ enter and see it plays well.<br>
        <br>
        <br>
                  </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td><p><strong>4.</strong></p></td>
                  <td><p>And now this is the time to control your sound by play and stop buttons. you have dragged and drop two buttons to the stage earlier...one sould be &quot;play&quot; button and the other one should be &quot;stop&quot; Button. now select the stop button and goto actions, and under movie clip control you will find an action called &quot;stop all sounds&quot; double click on it.<br>
                          <br>
                          <img src="images/ques7-img2.jpg" width="500" height="246"><br>
                          <br>
                          <br>
                  </p></td>
                </tr>
                <tr valign="top" class="text">
                  <td><p><strong>5.</strong></p></td>
                  <td><p>Ok now select the &quot;play&quot; button to play the background music, then again open the action panel, then double click on the &quot;goto&quot; action in the action panel, and the scene should be the current scene and the frame number should be &quot;1&quot;, as shown below on the image.</p>
                      <p><img src="images/ques7-img3.jpg" width="520" height="252"></p>
                      <p> Its done now it should work well.......... <br>
                    </p></td>
                </tr>
              </table></td>
          </tr>
      </table></td>
  </tr>
</table>
</body>

</html>

