Help with adding audio files to page

I am using DW CS5.  I have had numerous troubles adding audio files to any page.  Please know that I am not at all computer savy when it comes to html codes etc.  But I have been working with DW CS5 and have a functional website and my pages validate.  That being said, please be patient with me if I am asking stupid questions or don't understand the solution.
Now to the problem....I originally wanted to add mp3 files...but I am not sure how to work with plugins or which plugin to use.
Therefore, I converted my mp3 files to swf and used the insert media file feature in DW CS5.  But when I look at the finished page...I only see a big white box.  Nothing happens when you click on it. 
First question...which is the best method to add audio files?
Second question...what steps do I need to follow achieve the desired result?
Note:  there is one validation error on this page and I'm not sure why or how to fix it.  Any suggestions here would be greatly appreciated.
Here is the code for the page (or you can go to this link:  http://02cada7.netsolhost.com//test2/cupotea.shtml):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cupotea</title>
<style type="text/css">
    body {
        margin: 0;
        width: 100%;
        background-color: #000; /* change this to whatever the background color should be for the sides (and the bottom) */
    #wrapper {
        min-width: 960px; /* this is how wide the actual content area will be (the centered part) */
        max-width:    1260px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 0 5 5; /* keep the first two values at 0, the others are for left and right space from the edge of the background */
        background-color: #000; /* this is the background color of the main content area */
        color: #FFF; /* this is the default font color */
    #top {
        height: 75px;
        font-size: 60px;
        font-style: italic;
        font-weight: bold;
        color: #FFFDE6;
        background-color:#750700;
        text-align: center;
    #left {
        width: 120px; /* this is the width of the side area. this will take some of the width of the wrapper, above */
        float: left;
        padding-top:10px;
    #main {
        min-width: 840px; /* this is the width of the main content area. This, plus the width of the side, should equal the width of the wrapper */
        max-width: 1340px;
    float:left;
    background-color:#000;
    color: #000;
#body {
    width:853px;
    float:left;
    color: #fffde6;
    padding-right: 10px;
    padding-left: 10px;
#bodyleft {
    width:425px;
    float:left;
    padding-top:70px;
#bodyleft2 {
    width:425px;
    float:left;
    padding-top:70px;
#bodyright {
    width:425px;
    float:left;
    padding-top:70px;
#bodymiddle {
    width:853px;
    float:left;
    color: #fffde6;
    padding-right: 10px;
    padding-left: 10px;
a img {border:none; }
.standardparagraph {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    color: #fffde6;
    text-align: justify;
    font-weight: normal;
.standardparagraph2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    color: #fffde6;
    text-align: justify;
    font-weight: normal;
    border-top:thin;
    border-color:#666;
    border-bottom-style:solid;
.standardparagraph3{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    color: #fffde6;
    text-align:    center;
    font-weight: normal;
.standardparagraph4{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    color: #fffde6;
    text-align: center;
    font-weight: normal;
    border-top:thin;
    border-color:#666;
    border-bottom-style:solid;
.pagetitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16pt;
    font-weight: bold;
    color: #fffde6;
    text-align: center;
</style>
//<![CDATA[
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
//]]>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical-2.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />
<style type="text/css">
a:link {
    color: #06F;
a:visited {
    color: #06F;
a:hover {
    color: #06F;
a:active {
    color: #06F;
</style>
</head>
<body onload="MM_preloadImages(''images/buttons/miscfamily2.jpg','images/buttons/home2.jpg','im ages/buttons/familytrees2.jpg','images/buttons/legacy2.jpg','images/buttons/polska2.jpg',' images/buttons/dziekuje2.jpg','images/buttons/calendar2.jpg','images/buttons/dziekuje2.jpg ','images/buttons/StasikEarly1800sto1870-2.jpg','images/buttons/JanikMid1800sto1866-2.jpg' ,'images/buttons/Stasik1857toPresent-2.jpg','images/buttons/1st-generation-2.jpg','images/ buttons/2nd-generation-2.jpg','images/buttons/3rd-generation-2.jpg','images/buttons/4th-ge neration-2.jpg','images/buttons/5th-generation-2.jpg','images/buttons/6th-generation-2.jpg ','images/buttons/7th-generation-2.jpg','images/buttons/january-2.jpg','images/buttons/feb ruary-2.jpg','images/buttons/march-2.jpg''images/buttons/april-2.jpg','images/buttons/may- 2.jpg','images/buttons/june-2.jpg','images/buttons/july-2.jpg','images/buttons/august-2.jp g','images/buttons/september-2.jpg','images/buttons/october-2.jpg','images/buttons/novembe r-2.jpg','images/buttons/december-2.jpg')">
<div id="wrapper">
  <div id="top">
    <div align="center">THE STASIK FAMILY</div>
  </div>
  <div id="left">
<!--#include virtual="includes/menu.html" -->
  </div>
  <div id="main">
   <div align="center">
    <br />
    <span class="pagetitle">CUP O' TEA</span><br />
    </div>
    <div id="body">
        <p class="standardparagraph2">When preserving family history, nothing can compare to sitting down with a Grandparent or Great Aunt or Uncle over a cup of tea; listening to them reminicse about the past.  Unlike handwritten accounts, there is opportunity to ask questions or delve further into the subject.  Even better, recording such conversations so they can be shared for generations to come.<br />
<br />
The following audio files were created by Virginia (Stasik) Zarow at the request of Laura (Stasik) Schmidt and Carrie (Stasik) Kot.  There were a total of five cassette tapes, ranging from 1 hour to a 1 1/2 halfs in length.  Scott Freeson converted each tape to digital format and then they were broken down into various segments for a total of 7 audio files.  It is recommended that you listen to each tape in the order presented to maintain the proper timeline and context.<br /><br /></p>
<p class="standardparagraph">The first five audio files were recorded by Aunt Virginia in response to questions posed by Laura (Stasik) Schmidt and her sister Carrie (Stasik) Kot.  Aunt Virginia re-recorded her responses in August 2009 after noticing some mistakes in the original recording.<br />
<br />
Note:  Virginia refers to her father as "tata", which is the Polish word for dad.</p>
<div id="bodyleft">
<span class="standardparagraph">What are the recollections you have about your parents, in particular their interests, their hobbies, and their lives and faith?<br />
What did your dad do around the house?<br />
How did your mom relax?<br /><br /></span>
<span class="standardparagraph">How did you celebrate holidays and birthdays? <br />
Did you go on vacations?<br />
What did you and your brothers do for fun?<br /><br /></span>
<span class="standardparagraph">What do you know about Jacob Sikora and Catherine Dziwak, the extended family and their faith?<br />
  - Jacob Sikora and Catherine (Dziwak) Sikora<br />
  - Michael (aka Patsy)<br />
  - Magdeline (aka Chochi)<br />
  - Angeline (aka Nellie) - includes information about Frank &amp; their children<br />
  - Elizabeth (aka Diane)<br />
  - John<br />
  - Peter<br />
  - Walter<br /><br /></span>
<span class="standardparagraph">  What was the house like?<br />
  - In the beginning<br />
  - The 1936 flood<br />
  - Renovations<br />
  - The final demise<br /><br /></span>
<span class="standardparagraph2">Miscellaneous tidbits...<br />
  - Polish Proverbs<br />
  - Ancedotes<br /><br /></span>  </div>
<div id="bodyright">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="50" height="25" id="FlashID" title="virginia1of5">
  <param name="movie" value="audiofiles/virginia1of5.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="opaque" />
  <param name="swfversion" value="15.0.0.0" />
  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
  <param name="expressinstall" value="Scripts/expressInstall.swf" />
  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  <!--[if !IE]>-->
  <object type="application/x-shockwave-flash" data="audiofiles/virginia1of5.swf" width="50" height="250">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="15.0.0.0" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
      <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
    </div>
    <!--[if !IE]>-->
  </object>
  <!--<![endif]-->
</object>
<span class="standardparagraph3">for the media file<br /><br /><br /><br /></span>
<span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></span> 
<span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /></span>
<span class="standardparagraph4">for the media file<br /><br /><br /><br /></span>
    </div>
    <div id="bodymiddle"><span class="standardparagraph">The second tape, also recorded in August 2009, consists of 2 clips and covers the years 1944 through 1947.</span></div>
<div id="bodyleft2">
<span class="standardparagraph">Summer of 1944 to December of 1945<br />
  - Meeting of Frank Zarow<br />
  - New Years Eve - 1944<br />
  - Prom Night - May 1945<br />
  - First boyfriend, Eddie Yesh<br />
  - First job as a hygienist<br />
  - Meeting of John Zarow<br />
  - Enrolled at Indiana State Teachers College<br />
  - Meeting of Ted Zaroff<br />
  - Thanksgiving - 1945<br />
  - Florian Stasik Airforce injury<br />
  - Christmas - 1945<br />
  - New Years Eve - 1945</span>
<span class="standardparagraph">Note:  Per Virginia, Ted's name should be spelled Zarow, like most of his brothers.  There was a mixup with his birth certificate and his last name was mispelled (although it is phonetically correct).  He chose to keep this spelling as did one of his brothers.<br /><br /></span>
<span class="standardparagraph">January 1946 to December 1947<br />
  - Takes job as cook/housekeeper<br />
  - Break-up with Eddie Yesh<br />
  - Frank Zarow passes away<br />
  - Christmas 1946<br />
  - Meets John Zarow again<br />
  - New Years Eve 1946<br />
  - John courts Virginia<br />
  - First date with John<br />
  - John's father passes away<br />
  - Christmas 1947</span>
<span class="standardparagraph">Virginia mentions visiting cousin Helena in Poland.  She is referring to <a href="4-0-helenastasikguzik.shtml">Helena (Stasik) Guzik </a>and her trip to Poland in 1990.  </span></div>
<div id="bodyright2">
<span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></span>
<span class="standardparagraph3">for the media file<br /><br /><br /><br /></span></div>   
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
  </script>
  </div>
</body>
</html>

Woohoo! I was able to resolve the issue including the validation issue.  But I have a follow up question...
Currently if you click on the play button another window pops up which has the play/control/stop buttons to control the audio file.  The attribute is set to new window.  If I change the attribute to parent window, then the page that has the control buttons overlays ontop of the page with the link.
To get back to the original page, one must click on the back arrow near the address bar.
Isn't there a way to not have a separate window appear?  In other words, the controls are embeded into the parent page?

Similar Messages

  • Help with an audio file - vows from a wedding.

    Evening all,
    My wife and I filmed a wedding yesterday and our wireless mic which was hooked up to the groom's lapel decided to cut out literally seconds before he spoke his vows. When I got the mic back from him, everything was soaked, literally dripping and also extremely warm. He couldnt explain why it was so wet, sweat he said. Unfortunately we lost our crystal clear version of the vows and have to work with a secondary version. We had two other cameras going as well as our primary. My wife had a Rode Shotgun mic on her camera and picked up the groom and brides vows, but you can hear the constant hum of the mic. I have dumped the file onto FileSnack and have provided the link to check out. Is there anything we can do to make this sound better, as well as perhaps bring up the audio from the bride and groom.
    http://snk.to/f-ct9yxq4s
    Hope one of you audio engineering savants can help out! Thank you very much in advance!
    Sincerely,
    L+J Films

    I've had a little play and Steve's right that there's no miracles to be had.  However, have a play with Audition's EQ section and try taking down the level between 3k and 4k.  That gives you a slightly boxy sounding voice but also cuts some of the clicky sound--it's a balancing act to decide how much EQ you want.  FYI, I tried both the 31 band graphic with 3.2k pulled down a lot and 4k somewhat down.  I also played with the parametric with a fairly steep Q centred around 3.7k.  I think the parametric will eventually do the better job but ran out of time when a paying job turned up.
    A bit of high and low cut would probably help as well and maybe some slight boost in the 250-800 range to help the intelligibility.
    Anyhow, hope this helps.
    Now, a tip for "next time".  Sweat outs are common in theatre where we often hide mics in the hairline.  If if have any inkling of an impending problem, spray a small section of an old pair of ladies stockings or panty hose with Scotchguard, cut out a small circle and stretch it over the mic capsule--a rubber band can hold it tight.  Similarly, putting the TX pack in an unlubricated condom or a ziplock bag with only then antenna peaking out protects that end.

  • Help with editing audio files (please)

    hi there,
    firstly sorry for posting in this section but i had no idea where else to do it.
    i recently went to an acoustic gig and recorded some songs from it using a sony ericsson phone. i have blue-toothed the files to my mac. there are a few songs on each recording are two things i would like to do with these files.
    1. i would like to split the files so they are separate for each song.
    2. i would like to try remove as much background noise as possible i.e. crowd making noise, or at least focus it on the actual music being played.
    i have download audacity but have no idea. i am looking for a possibly free way to do this and simple too. i am not going to go hardcore with the editing, just want to do it quick and easy.
    any help much appreciated, thanks, ravi.
    Message was edited by: irav_86

    You need to import your song to iTunes first.
    Than open Garage Band and click on bottom Right button (View/ Hide media browser).
    Click on Audio>iTunes>Music, and choose the song you want to edit. Then Just drag to your board and this will open new track, you will see line running vertically on your screen, this is showing you at what measure your song will start, just move to the beginning of a track (if you drop it too soon, just "pick" it up again and move it). This is very useful when you are trying to merge several track (e.g. for your iMovie, as you have only two tracks on it).
    Than Split and delete portion you don't want any more.
    To Slit a track, adjust your measure where you want to split it and go to Edit>Spit.
    Hope this helps.

  • PLEASE - Need help with system audio files

    Hi guys, I'm going to try posting this one last night before throwing my hands up.
    I'm having a problem with my MacBook Pro where certain audio, namely in browsers like FireFox or Safari, doesn't output.
    YouTube and Google Video stream and display video content correctly, but no audio is output.
    System audio such as notifications, as well as iTunes, doesn't seem to be affected.
    I tried to follow the steps outlined in another post to check the output Hz setting for my midi device in the Audio MIDI Setup panel. However, this is what my panel looks like:
    http://static.flickr.com/48/12917458198120c9319_od.jpg
    It's simply blank, with "Output is not supported" displayed where those settings should be.
    Any ideas as to the root of this problem? It's almost like I'm missing a .plist file or some other system file, maybe something that got deleted using AppZapper? That's just a wild guess from a recent Mac convert after browsing the forums
    Thanks!

    First off, it makes total sense that you see "Output is not supported" for you microphone. Change the "Properties For:" drop down to "Built in Output" or whatever output device you are using. You will then see the audio output format and frequencies, but on the left side it will say "Input is not supported"
    Second, YouTube and Google Video don't use midi and so the Audio Midi Setup isn't really relevant to your problem at all and you should leave that alone... unless you are you a musician with a midi device setup. Perhaps this is the case, please post if it is. Otherwise you are headed down a blind alley messing with "Audio Midi Setup" to diagnose OR fix your issue.

  • Help with doc. Files in pages

    I've been sent a word doc from work, it's one page, but when I open it in pages it decides to spread it across two pages, it's an editable file which I need to fill in each week and send back, would like to be able to keep it to one page, any ideas? Thank you in advance

    You do not need to use Pages which is not a clone of MsWord.
    There are differences to how Pages renders a layout and MsWord renders a layout.
    Use LibreOffice [free] instead.
    Peter

  • Question marks with some audio files

    Hello all,
    I've been trying to understand the problem I'm having with some audio files of my website, but to no avail. Some audio file are not loaded up with Quicktime, and only show a question mark with a blue "Q" around it.
    In other words, would any of you be able to help me find out why the audio files in the following pages do not work:
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/4/7_Liszt_Sonata_in_B_minor%2C_S.2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2006/6/23_Mozart_Piano_Concerto_in_C_minor%2C_K._491_i._All egro2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2006/6/23_Mozart_Piano_Concerto_in_C_minor%2C_K._491_iii._A llegretto2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2006/5/8_Bachs_Sarabande_from_Partita_no.2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2004/8/6_Beethovens_Piano_Concerto_no._2_in_B-flat_major%2C _op._19_-_i._Allegro_conbrio.html
    Although it does in these other pages:
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/10/29_Chopin_Etude_in_C_major%2C_op._10_no.1.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/9/18_Schubert_Piano_Sonata_in_E%2C_D_157_i._Allegro_ma _nontroppo.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/9/16_Schubert_Piano_Sonata_in_E%2C_D_157_ii.Andante.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/4/29_Beethoven_Piano_Sonata_in_C-sharp_minor_op._27_no ._2_-_i._Adagio_sostenuto2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2004/6/8_Bach-Busoni_Chaconne_from_Partita_no._2%2C_BWV1004.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2004/6/8_Bach-Feinberg_Largo_from_Trio_Sonata_in_C_major%2C _BWV529.html
    I really appreciate your help.

    You are giving viewers the full title on your web page.
    You could cut your files names like < Beethovens_Piano_Concerto_no._2_in_B-flat_major%2C_op._19_-_i._Allegro_conbrio.html >
    to something like BthvnPC2BfM.
    Publish to a folder and look in the "Media" folder to see that all your files are there.
    A better way to provide a download is to ZIP the music file and link to it via "Link to: A file" in the Link Inspector.
    Type "Download" over the file name that appears and select your rollover colors and U or not in the format page.

  • Help with adding a hyperlink to a button?

    We have a simple little site we built in Catalyst and everything works great. The only problem is that we cannot figure out how to add a hyperlink to one of the buttons in the animation. We simply want to be able to click on the button and go to another site (the client's Facebook page specifically). Can anyone provide some insight? Thanks!

    The message you sent requires that you verify that you
    are a real live human being and not a spam source.
    To complete this verification, simply reply to this message and leave
    the subject line intact.
    The headers of the message sent from your address are shown below:
    From [email protected] Tue Nov 03 19:08:07 2009
    Received: from mail.sgaur.hosted.jivesoftware.com (209.46.39.252:45105)
    by host.pdgcreative.com with esmtp (Exim 4.69)
    (envelope-from <[email protected]>)
    id 1N5TPy-0001Sp-J1
    for [email protected]; Tue, 03 Nov 2009 19:08:07 -0500
    Received: from sgaurwa43p (unknown 10.137.24.44)
         by mail.sgaur.hosted.jivesoftware.com (Postfix) with ESMTP id 946C5E3018D
         for <[email protected]>; Tue,  3 Nov 2009 17:08:03 -0700 (MST)
    Date: Tue, 03 Nov 2009 17:07:49 -0700
    From: Tvoliter <[email protected]>
    Reply-To: [email protected]
    To: Matthew Pendergraff <[email protected]>
    Message-ID: <299830586.358941257293283616.JavaMail.jive@sgaurwa43p>
    Subject: Help with adding a hyperlink to a button?
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
         boundary="----=_Part_36702_1132901390.1257293269030"
    Content-Disposition: inline
    X-Spam-Status: No, score=-3.4
    X-Spam-Score: -33
    X-Spam-Bar: ---
    X-Spam-Flag: NO

  • I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    You mean an image such as a scanned document?
    If that is the case, the file doesn't contain any text for Reader Out Loud to read. In order to fix that, you would need an application such as Adobe Acrobat that does Optical Character Recognition to convert the images to actual text.
    You can also try to export the file as a Word document or something else using ExportPDF which I believe offers OCR and is cheaper than Acrobat.

  • Help with adding image onclick

    Hey everyone,
    I am making a simple game in AS3 and need help with adding an image once they have click on something.
    On the left of the screen are sentences and on the right an image of a form. When they click each sentence on the left, writing appears on the form. Its very simple. With this said, what I would like to do is once the user click one of the sentences on the left, I would like a checkmark image to appear over the sentence so they know they have already clicked on it.
    How would I go about adding this to my code?
    var fields:Array = new Array();
    one_btn.addEventListener(MouseEvent.CLICK, onClick1a);
    one_btn.buttonMode = true;
    function onClick1a(event:MouseEvent):void
        fields.push(new one_form());
        fields[fields.length-1].x = 141;
        fields[fields.length-1].y = -85;
        this.addChild(fields[fields.length-1]);   
        one_btn.removeEventListener(MouseEvent.CLICK, onClick1a);
        one_btn.buttonMode = false;
        //gotoAndStop("one")
    two_btn.addEventListener(MouseEvent.CLICK, onClick2a);
    two_btn.buttonMode = true;
    function onClick2a(event:MouseEvent):void
        fields.push(new two_form());
        fields[fields.length-1].x = 343.25;
        fields[fields.length-1].y = -85;
        this.addChild(fields[fields.length-1]);
        two_btn.removeEventListener(MouseEvent.CLICK, onClick2a);
        two_btn.buttonMode = false;
        //gotoAndStop("two")

    I don't know where you're positioning the button that should enable/disable the checkbox but for "one_btn" let's just say it's at position: x=100, y=200. Say you'd want the checkbox to be to the left of it, so the checkbox would be displayed at: x=50, y=200. Also say you have a checkbox graphic in your library, exported for actionscript with the name "CheckBoxGraphic".
    Using your code with some sprinkles:
    // I'd turn this into a sprite but we'll use the default, MovieClip
    var _checkBox:MovieClip = new CheckBoxGraphic();
    // add to display list but hide
    _checkBox.visible = false;
    // just for optimization
    _checkBox.mouseEnabled = false;
    _checkBox.cacheAsBitmap = true;
    // adding it early so make sure the forms loaded don't overlap the
    // checkbox or it will cover it, otherwise swapping of depths is needed
    addChild(_checkBox);
    // I'll use a flag (a reference for this) to know what button is currently pushed
    var _currentButton:Object;
    one_btn.addEventListener(MouseEvent.CLICK, onClick1a);
    one_btn.buttonMode = true;
    function onClick1a(event:MouseEvent):void
         // Check if this button is currently the pressed button
         if (_currentButton == one_btn)
              // disable checkbox, remove form
              _checkBox.visible = false;
              // form should be last added to fields array, remove
              removeChild(fields[fields.length - 1]);
              fields.pop();
              // clear any reference to this button
              _currentButton = null;
         else
              // enable checkbox
              _checkBox.visible = true;
              _checkBox.x = 50;
              _checkBox.y = 200;
              // add form
              fields.push(new one_form());
              fields[fields.length-1].x = 141;
              fields[fields.length-1].y = -85;
              this.addChild(fields[fields.length-1]);
              // save this button as last clicked
              _currentButton = one_btn;
         // not sure what this is
        //gotoAndStop("one")
    I'd also centralize all the click handlers into a single handler and use the buttons name to branch on what to do, but that's a different discussion. Just see if this makes sense to you.
    The jist is a graphic of a checkbox that is a MovieClip symbol in your library exported to actionscript with the class name CheckBoxGraphic() is created and added to the display list.
    I made a variable that points itself to the last clicked button, when the "on" state is desired. If I detect the last clicked button was this button, I remove the form I added and the checkbox. If the last clicked button is not this button, I enable and position the checkbox as well as add the form.
    What is left to do is handle the sitation where multiple buttons are on the screen. When a new button is pushed it should remove anything the previous button added. This code simply demonstrates clicking the same button multiple times to toggle it "on and off".

  • Help with Optical Audio, w/X-Fi Elite Pro, and Logitech Z-5

    Hi,
    I need help with optical audio on my X-Fi Elite Pro, and Logitech Z-5500 speakers. I have everything connected, and sound comes out, but NO 5. Surround. This is pissing me off beyond belief. I have it all connected, and set to 5. Surround, and on my Logitech's I have it set to opical in, and have tried ALL effects, stereo, strereo 2x,[Dolby Sign] PL II Movie, [Dolby Sign] PL II Music. I have tried the sound card set for an external decoder, and the sound cards' decoder, and tried both with all optical settings on the sound card. It doesn't give me surround with optical... And I would REALLY appreciate help.
    My drivers are up to date.
    Thanks for the help!!!!!!!!!!!
    Yan N. B.

    Except if you send DD/DTS multichannel sound to your receiver, you'll not have surround sound with digital connection. did you read the stikies?

  • Need help with adding emoji to my hubby's phone don't see it when I click on the keyboard tab

    I need help with adding emoji to my hubby's iPhone when I go to settings then the keyboard tab it's not there

    I did that bad it's not there and doesn't give me to option to click on it

  • Having trouble with a audio file. Need help please!

    Hello. 
    This may sound funny and not to related to any of this at first, but if anyone here knows about the game portal, then they know about the ARG that went on during last week and may even still be continuing. None of thats really important but if anyone cares to know, basically VALVe released a new update with 30 new sounds, 26 of them moarse code/sstv pictures. 3 of them called dinosaur_fizzle 1 2 and 3. Infact, each one was named dino_1 dino_2 and so on. 
    The main sound that no ones been able to crack is called Dinosaur_noise. Its obvious there are voices in it and its some sort of major clue, this file is way out of league with the other ones. No ones solved it 100% or cleaned it enough to make basically anything audible.
    Now this started March 1st. Since then i have worked hours on the audio file. I have gotten close, but not close enough.
    Thats why im turning to someone here, that can do a through analysis of the audio that adobe or reaper just cannot do.
    In the attachments is the original file itself with no editing what so ever.
    Heres some collected data. 
    Frequencies of interest
    An analysis was undertaken to find the strongest frequencies acting within "dinosaur_noise". Linear and Logarithmic curves showed sets of dominant figures, with the most being:
    Frequency (Hz)
    Comments
    9092
    Largest spike before silence
    7862
    Very faint
    7812
    Very faint
    7657
    Very faint
    7502
    Largest spike in the 4000-9000Hz band
    3502
    various noise between 3502 and 3510
    360
    Another very visible wave. This was the most pronounced visible wave in the Logarithmic scale
    35
    The most dominant low frequency wave
    There are a few standout segments, not of voice data underneath, but visible clicks or something happening about 5 times. These could be indications of splices or other manipulations going on. The largest noticed broad-spectrum spikes were:
    Time(in samples)
    Comments
    55402
    First broad spike
    422931
    Second broad spike
    751643
    Third broad spike
    1081537
    Fourth broad spike
    1110841
    Fifth broad spike
    Silence in the frequency ranges is located in the band of 10.567 - 15.337 KHz. All frequencies above that are likely to be high frequency poinoning from the FFT process. 
    Heres what i know personally.
    -Noise reduction makes it a lot worse and adds strange harmonics and artifacts.
    -Most filters do the same.
    -Clear voice around 15 that says THATS AMAZING.
    If anyone cares to help I would appreciate it so much.
    Here are some links that might help.
    http://www.snotmonkey.com/work/school/405/methods.html
    http://pastebin.com/r90fEtnd C++ code
    Actual files in attachments 
    Attachments:
    dinonoise.zip ‏2554 KB

    LabVIEW has a sound and vibration toolkit.  Do you have that?  Do you have LabVIEW?
    The forum is made up of volunteers who will help others with their LabVIEW problems.  But you need to have a specific problem and ask clear questions.
    What you are asking for is very unclear.  Why do you even want to do a "thorough analysis of the audio"?  No one is going to do your project for you.

  • Archive applet. Help with adding files to archive, then show.

    I need help with this applet: http://pastebin.com/589064
    The user is supposed to add, remove and open archives with text in it.
    My problem is now the highlited area in the code (the lines with the @@'s).
    This button should list all files i have added to the archive, however when i press the button, i only get a numberlisting. eg, if i have added 4 files to the archive I get: 0123
    However I want the Joptionpane to show a listing of the files in the archive.
    When I press "open" i can choose a file, press add, then open a new file, press add, and then when i click show archive, the filenames of the two files i added, should list through a Joptionpane..as you can see, i've tried, but i'm very unfamiliar with this.

    OK..i've done it
    check out http://pastebin.com/589268
    however, now i'd like to change the code, so that if i try to add to files with the same filename, the applet should show an error message..
    How do i do that, please? :-)

  • File Not Found bug with long audio file names?

    Hello -
    Crazy problem. I'll probably post way too much information, but I want to make sure I cover everything. Help!
    We run Logic Studio/Logic 8 on multiple 10.4.10/11 computers - G5 Power PC, new intel iMac, intel mini, G4 laptops. We are working on an audio post job using very messy OMFs that were prepared in Final Cut. We had problems opening them in Logic, so we opened the OMFs in Soundtrack Pro, exported to AAFs, and opened those in Logic.
    The sessions look fine in Logic now (all files relinked), and the session is consolidated - ie, all files are local/in the project folder's Audio Files folder. I see this in the Audio Bin and can confirm in the finder.
    Here's the problem. With the sessions closed:
    (A) I renamed the project folder by adding an asterix to the front of the folder name, and changed the color label of the folder in the finder in order to mark it as the original folder.
    (B) I made a copy of the whole folder (session files & audio files) in order to have something to work from and not mess up the original. When I opened up the session in the new folder, it immediately said audio file not found, do you want to search, locate, or skip. It couldn't find the file in a search, and obviously when you skip, then skip, then skip all, it opens the session with the data (regions are there but grayed) - so all the audio files are orphaned.
    So when I try to locate the file, here's what happens. . . The audio file names are really horrendously long (must be some artifact of working in Final Cut). We're talking: "1087-001A SERG AIRPORT WAITING * 1-1channel_00044D02AA9- 363A-4CC5-A86B-0741023DB062.aif" - one bazillion characters.
    So the audio file locate dialog box truncates the name of the file that's missing by using the first 20 characters or so, and then a "#" character, and then some random string of 3-6 characters that is not at all related to the file name. So who knows which of the 4-30 SERG AIRPORT files is supposed to go there!
    Obviously if this were a 2 minute session file of 10 files or something, we could figure it out and relink everything, but we're talking about a feature-length session with a bazillion files.
    (C) Okay, so I tried to open the original session, in the folder that I had renamed by prefacing the original name with an * and changing the color of the folder. But I started to get the file not found errors. OH GEEZ. So I didn't save. I re-renamed the folder by taking out the * and changing the color label back. Then I tried to open the session again, but I still kept getting the file not found problem.
    I have to stress that I didn't move any of the audio files, or change ANYTHING in the session.
    So I thought - is all of this because I tried to open a new instance of the session, in a new instance of the folder? Is it because I renamed the folders? Normally you can rename folders, even session names, no problems, and Logic corrects the paths to the audio files!
    (D) So, crap. I reopened the original AAF file in logic and saved it in a new place. I closed the file, reopened it, closed, reopened, just to make sure everything was working! I checked the location of the files in the audio bin, and everything was great.
    (E) So now I copied the folders to an external hard drive to be able to work on another computer. But when I tried to open the sessions on a new computer. . . You guessed it, nada.
    So. . . the questions are:
    (1) Those original sessions that now will not work - is there anything I can do to recover their functionality? We had work in there that I would prefer not to lose. . .
    (2) Is this a known bug having to do with the length of the Audio File names?
    (3) How do we get over this? My only idea so far is we could select all in a working logic session and say "Audio Tracks names to regions" or something and will that change the actual file names on teh computer? Then hopefully things would work on mulitple systems. . .
    Okay. HELP! Thanks!
    Polly

    OK I got it.
    It is necessary to use prefix "file:///" before file name.
    Thanx everyway.

  • Need help with transferring phone files

    So my girlfriend has an audio file on her phone (a Droid RAZR HD) and she needs to upload it to a computer for a class. Her computer is really bad and so she's using mine, a Mac. I downloaded the Backup Assistant program for Mac and when her phone is plugged in I can drag all the files she needs over to the local content but the transfers always fail. When I click on the transfer log it simply says they failed but it never gives any explanation as to why or how to fix it.
    We've tried going bluetooth connection but I have an iPhone and whenever she searches for bluetooth devices my phone doesn't show up in hers and vice versa. I have plenty of space in my Verizon Cloud to transfer it there but her phone is on her parents plan so I can't really transfer her files to mine. It seems her phone is already linked with a Cloud account that isn't mine.
    What can we do to resolve this issue? Any tips would be greatly appreciated

    Have you tried Looking in here through Motorola's Help Pages,?  If not give this a Look.. b33
    http://www.motorola.com/us/shop-all-mobile-phones-1/Droid-Razr-HD/m-DROID-RAZR-HD.html
    https://motorola-global-portal.custhelp.com/app/product_page/faqs/p/30,6720,8448/action/auth#/how_do_i

Maybe you are looking for