Need help with audio on button ASAP THANKS!

Hi,
Using CS3 I added via properties audio to the "over" part of a gold button.  The audio I added is 4Mb in size which I had imported to the library.  When I selected "over" on the button and then using properties assigned the audio file .... the wave form appeared ... but not under "over" but over, down and hit.  Thus when I publish what is happening is the page loads fine ... the audio begins to play on roll over as wanted ...
HERES THE GLITCH:  if you accidently roll over again a new audio begins to play out of sync with the first one ... basically you get the row, row row your boat effect where each roll over audio is delayed.
MY FAILED SOLUTION:  I tried to move the audio file and assign it via properties under hit. Thus have to have someone click on the sound.  Yet the same outcome happend where the wave form appeared not just under hit but it showed on over, down and hit. The same thing happened when I tried assigning to "down".
MY QUESTIONS:
Is this caused by the sound file being too big?  I tried a small audio beed and it would assign directly under the part I assigned but not with the bigger 4MB audio file.
If it is the size of the sound file, can I link the button to an external audio file. If so, what code would I use if I am using Action Script 2.0. I am very new at action script.
If it is not the size, could some one please tell me how to fix this glitch.  I would be satisfied with the button working on either over or hit.  If you wish to see what the button is doing, you can see it online at www.signaturehill.com.
THANKS.

Hi Erika,
That might just be what I need ... but I am confused as to where do put the action code.  Can you help me with the following questions:
1. Did you put it inside the button via actionscript or did you select the button just and ad it there ...  or somewhere else? Since I have several buttons doing the same thing on different pages, I am not sure where to put it.
2. What was the exact code you used  ie  on (release)  {....   StopAllSounds(); }  .... did you even use "release" or some other mouse event.
Please include the action script code I might try since I am very new to scripting. THANK YOU>

Similar Messages

  • Need help with Flash CS4 buttons/can't get buttons to control anything

    Hello,
    I need help with Flash CS4. I am making a banner with an animation (Image change into movie clip "3D Spiral") and added buttons but I cannot get the buttons to control the animation. Please help I am frustrated! If someone could help I would be most appreciated.

    Thank you.
    Regards,
    Michael J. Sheehan  allelois
    Date: Mon, 17 Aug 2009 18:48:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: Need help with Flash CS4 buttons/can't get buttons to control anything
    Hi there
    I'm not sure how you wound up where you did. But you wound up in the Adobe Captivate forums. Please stand by as I move your thread to the Flash forums.
    Cheers... Rick
    >

  • I need help with this script please ASAP

    So I need this to work properly, but when ran and the correct answer is chosen the app quits but when the wrong answer is chosen the app goes on to the next question. I need help with this ASAP, it is due tommorow. Thank you so much for the help if you can.
    The script (Sorry if it's a bit long):
    #------------Startup-------------
    display dialog "Social Studies Exchange Trviva Game by Justin Parzik" buttons {"Take the Quiz", "Cyaaaa"} default button 1
    set Lolz to (button returned of the result)
    if Lolz is "Cyaaaa" then
    killapp()
    else if Lolz is "Take the Quiz" then
              do shell script "say -v samantha Ok starting in 3…2…1…GO!"
    #------------Question 1-----------
              display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
              set A1 to (button returned of the result)
              if A1 is "Apprentices" then
                        do shell script "say -v samantha Correct Answer"
              else
                        do shell script "say -v samantha Wrong Answer"
      #----------Question 2--------
                        display dialog "Most children were taught
    to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
                        set A2 to (button returned of the result)
                        if A2 is "Bible" then
                                  do shell script "say -v samantha Correct Answer"
                        else
                                  do shell script "say -v samantha Wrong Answer"
      #------------Question 3---------
                                  display dialog "In the 1730s and 1740s, a religious movement called the_______swept through the colonies." buttons {"Glorius Revolution", "Great Awakening", "The Enlightenment"}
                                  set A3 to (button returned of the result)
                                  if A3 is "Great Awakening" then
                                            do shell script "say -v samantha Correct Answer"
                                  else
                                            do shell script "say -v samantha Wrong Answer"
      #-----------Question 4--------
                                            display dialog "_______ was
    a famous American Enlightenment figure." buttons {"Ben Franklin", "George Washington", "Jesus"}
                                            set A4 to (button returned of the result)
                                            if A4 is "Ben Franklin" then
                                                      do shell script "say -v samantha Correct Answer"
                                            else
                                                      do shell script "say -v samantha Wrong Answer"
      #----------Question 5-------
                                                      display dialog "______ ownership gave colonists political rights as well as prosperity." buttons {"Land", "Dog", "Slave"}
                                                      set A5 to (button returned of the result)
                                                      if A5 is "Land" then
                                                                do shell script "say -v samantha Correct Answer"
                                                      else
                                                                do shell script "say -v samantha Wrong Answer"
      #---------Question 6--------
                                                                display dialog "The first step toward guaranteeing these rights came in 1215. That
    year, a group of English noblemen forced King John to accept the…" buttons {"Declaration of Independence", "Magna Carta", "Constitution"}
                                                                set A6 to (button returned of the result)
                                                                if A6 is "Magna Carta" then
                                                                          do shell script "say -v samantha Correct Answer"
                                                                else
                                                                          do shell script "say -v samantha Wrong Answer"
      #----------Question 7--------
                                                                          display dialog "England's cheif lawmaking body was" buttons {"the Senate", "Parliament", "King George"}
                                                                          set A7 to (button returned of the result)
                                                                          if A7 is "Parliament" then
                                                                                    do shell script "say -v samantha Correct Answer"
                                                                          else
                                                                                    do shell script "say -v samantha Wrong Answer"
      #--------Question 8-----
                                                                                    display dialog "Pariliament decided to overthrow _______ for not respecting their rights" buttons {"King James II", "King George", "King Elizabeth"}
                                                                                    set A8 to (button returned of the result)
                                                                                    if A8 is "King James II" then
                                                                                              do shell script "say -v samantha Correct Answer"
                                                                                    else
                                                                                              do shell script "say -v samantha Wrong Answer"
      #--------Question 9------
                                                                                              display dialog "Parliament named ___ and ___ as England's new monarchs in something called ____." buttons {"William/Mary/Glorius Revolution", "Adam/Eve/Great Awakening", "Johhny/Mr.Laphalm/Burning of the hand ceremony"}
                                                                                              set A9 to (button returned of the result)
                                                                                              if A9 is "William/Mary/Glorius Revolution" then
                                                                                                        do shell script "say -v samantha Correct Answer"
                                                                                              else
                                                                                                        do shell script "say -v samantha Wrong Answer"
      #---------Question 10-----
                                                                                                        display dialog "After accepting the throne William and Mary agreed in 1689 to uphold the English Bill of _____." buttons {"Money", "Colonies", "Rights"}
                                                                                                        set A10 to (button returned of the result)
                                                                                                        if A10 is "Rights" then
                                                                                                                  do shell script "say -v samantha Correct Answer"
                                                                                                        else
                                                                                                                  do shell script "say -v samantha Wrong Answer"
      #---------Question 11------
                                                                                                                  display dialog "By the late 1600s French explorers had claimed the ___ River Valey" buttons {"Mississippi", "Ohio", "Hudson"}
                                                                                                                  set A11 to (button returned of the result)
                                                                                                                  if A11 is "Ohio" then
                                                                                                                            do shell script "say -v samantha Correct Answer"
                                                                                                                  else
                                                                                                                            do shell script "say -v samantha Wrong Answer"
      #------Question 12---------
                                                                                                                            display dialog "______ was sent to ask the French to leave 'English Land'." buttons {"Johhny Tremain", "George Washington", "Paul Revere"}
                                                                                                                            set A12 to (button returned of the result)
                                                                                                                            if A12 is "George Washington" then
                                                                                                                                      do shell script "say -v samantha Correct Answer"
                                                                                                                            else
                                                                                                                                      do shell script "say -v samantha Wrong Answer"
      #---------Question 13-------
                                                                                                                                      display dialog "_____ proposed the Albany Plan of Union" buttons {"George Washingon", "Ben Franklin", "John Hancock"}
                                                                                                                                      set A13 to (button returned of the result)
                                                                                                                                      if A13 is "Ben Franklin" then
                                                                                                                                                do shell script "say -v samantha Correct Answer"
                                                                                                                                      else
                                                                                                                                                do shell script "say -v samantha Wrong Answer"
      #--------Question 14------
                                                                                                                                                display dialog "The __________ declared that England owned all of North America east of the Mississippi" buttons {"Proclomation of England", "Treaty of Paris", "Pontiac Treaty"}
                                                                                                                                                set A14 to (button returned of the result)
                                                                                                                                                if A14 is "" then
                                                                                                                                                          do shell script "say -v samantha Correct Answer"
                                                                                                                                                else
                                                                                                                                                          do shell script "say -v samantha Wrong Answer"
      #-------Question 15-------
                                                                                                                                                          display dialog "Braddock was sent to New England so he could ______" buttons {"Command an attack against French", "Scalp the French", "Kill the colonists"}
                                                                                                                                                          set A15 to (button returned of the result)
                                                                                                                                                          if A15 is "Command an attack against French" then
                                                                                                                                                                    do shell script "say -v samantha Correct Answer"
                                                                                                                                                          else
                                                                                                                                                                    do shell script "say -v samantha Wrong Answer"
      #------TheLolQuestion-----
                                                                                                                                                                    display dialog "____ is the name of the teacher who runs this class." buttons {"Mr.White", "Mr.John", "Paul Revere"} default button 1
                                                                                                                                                                    set LOOL to (button returned of the result)
                                                                                                                                                                    if LOOL is "Mr.White" then
                                                                                                                                                                              do shell script "say -v samantha Congratulations…you…have…common…sense"
                                                                                                                                                                    else
                                                                                                                                                                              do shell script "say -v alex Do…you…have…eyes?"
                                                                                                                                                                              #------END------
                                                                                                                                                                              display dialog "I hope you enjoyed the quiz!" buttons {"I did!", "It was horrible"}
                                                                                                                                                                              set endmenu to (button returned of the result)
                                                                                                                                                                              if endmenu is "I did!" then
                                                                                                                                                                                        do shell script "say -v samantha Your awesome"
                                                                                                                                                                              else
                                                                                                                                                                                        do shell script "say -v alex Go outside and run a lap"
                                                                                                                                                                              end if
                                                                                                                                                                    end if
                                                                                                                                                          end if
                                                                                                                                                end if
                                                                                                                                      end if
                                                                                                                            end if
                                                                                                                  end if
                                                                                                        end if
                                                                                              end if
                                                                                    end if
                                                                          end if
                                                                end if
                                                      end if
                                            end if
                                  end if
                        end if
              end if
    end if

    Use code such as:
    display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
    set A1 to (button returned of the result)
    if A1 is "Apprentices" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    #----------Question 2--------
    display dialog "Most children were taught to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
    set A2 to (button returned of the result)
    if A2 is "Bible" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    (90444)

  • Need help with audio...

    Hi,
    I need some help with an audio issue...a deep, buzzing sound which is so dominant, i can barely hear the rest
    the situation:
    older VHS tape (about 10 years) - i know some of you just cringed the video quality isn't the greatest, but not the worst. the audio is terrible.
    transferred with my canopus av300 to my mac (g4 d1.25) - no issues
    using FCP 4.5
    i tried the AUGraphicEQ and since it was so deep, i reduced the following to 0:
    800
    6300
    8000
    reducing anything else doesn't seem to work
    i've also tried cleaning in soundsoap both before using the AUGraphicEQ and after. If i clean it with SSoap before AUGraphicEQ, it sounds far better than the original track, but a low buzz is still present. using the EQ again doesn't seem to do much.
    the camerawork was done on a tripod about 30 yds back. no mikes were used either. just the camera capturing both a/v.
    Any thoughts on anything else to try? Any other filters? I fear the buzz is just with the main sound and no chance of completely killing it.
    I can email someone a small sample file for them to play with if you like.
    i'm really at my wits end b/c i would like to ensure i give the client as best i can (the other option would be to send the tape to a colleague's audio expert, but the price is something my client doesn't want to pay
    Cheers,
    Keebler

    Got SoundTrack Pro? It will perform miracles with getting rid of unwanted sound. It's a matter of isolalating a few frames of the sound where no one is talking, and then using a simple command to remove that sound by itself from the entire audio track.
    There is a possibilty that the Hum remover in FCP 4.5 might help...
    Jerry

  • Need help with audio transfer!

    I'm having problems with audio in idvd. The problem is with clips that were pasted into an imovie project from a different imovie project. The idvd preview seemed fine, but when I burned my disk, the audio associated with the pasted clips was inaudible. The same problem occurred with clips that I had "shared" as a quicktime movie and then imported into idvd. Any help would be GREATLY appreciated. I'm a total amateur!

    Got SoundTrack Pro? It will perform miracles with getting rid of unwanted sound. It's a matter of isolalating a few frames of the sound where no one is talking, and then using a simple command to remove that sound by itself from the entire audio track.
    There is a possibilty that the Hum remover in FCP 4.5 might help...
    Jerry

  • DESPERATE!!... I need help with audio!

    Hi! I am starting a website for a business who has requested their website running in TWO days. The website is for a salon, so I have selected two tracks for the website to play. I need them to play through the entire website (continuous play through it) without stopping after every page. This also need to be without a play button. I also need the other one to start when the first one ends. I'm not sure if this is possible, but it will be m butt if not! Thanks!
    Message was edited by: macmaster99

    The xspf player will autostart and autoresume...
    http://www.iwebformusicians.com/MusicPlayers/PlayListPlayer.html
    You can hide it in each page using the method described here....
    http://www.iwebformusicians.com/MusicPlayers/QT.html
    ... by hiding it behind a screenshot of your page background.
    See the bottom of this page for make up a compilation using the freeware Audacity......
    http://www.iwebformusicians.com/AudioFiles/Edit.html
    ..... or any other audio editor that will import your audio file type and export it as MP3..
    Make up the player with no photo and only one track so that you can reduce its size to a minimum.
    If this is as clear as mud, click the Feedback button at the bottom of this page ....
    http://www.iwebformusicians.com/
    ... to contact the idiot that built this site.
    Don't expect a reply to soon as its 1.45 am in California and he's off to bed.

  • Need help with audio portion of iDVD

    I have added a playlist from iTunes to a slideshow. When I play it on slideshow, all music in the slideshow is played. However, when I export to iDVD and play back the slideshow, only the first song plays. The rest of the slideshow has no music playing once the first song ends. Help! Thank you!

    Hi jMoose and welcome to the forums!
    My bet is that the audio tracks that won't transfer to iDVD are purchased tracks in iTunes rather than from your own CDs?
    If so what you are up against is DRM copy protection. The workaround is to burn a CD in iTunes of those tracks you need, then re-import them from that CD into iTunes and save them as AIFF files.
    Then iDVD will use them with a smile!

  • I need help with audio in my Premiere Pro edit

    I recently recorded a gameplay with a song track in it. In the beginning of my video, i did a voiceover explaining what the video was going to be about. When im talking, i want to lower the song, then raise the volume when im done talking. How can i do this? If i need to be more specific let me know. Thanks!

    OK, assuming that the gameplay audio with the song is on audio track one and the voiceover is on audio track two.
    All you have to do is to keyframe track one to lower the volume while you are talking and raise it bak to normal when you finish speaking. It is pretty simple.
    Check out some of the Audio related tutorials here:
    http://library.creativecow.net/series/Premiere-Pro-Basics-CS6--above-with-Andrew-Devis

  • NEED HELP WITH AUDIO CAPTURE PROBLEM

    I've been filming for the past 2 weeks on a MiniDV camcorder. Heres the problem, I didn't check the audio bit rate before I started filming. Instead of the normal 16 bit, I used 12 bit. Now when I try to Capture the footage, the audio is out of sync and final cut says something along the lines of "The sample bit rate is different than the source. Change the settings to match the source."
    I tried to go into the settings menu and change the bit rate to 12 bit, however I was not successful. Can someone please help me with this situation? Thanks for looking. Hope we can figure out a solution.
    -D.

    Thanks for replying Les. I tinkered with some stuff and it is still not working. I thought I was able to change the "Capture Preset" to 32kHz, instead I was only able to change the "Sequence Preset". The Capture Preset is still set at 48kHz and I have no idea how to change it. Hope you might know what to do. Thanks again for the help.
    -D.

  • JMF: Need help with audio INPUT DEVICE CONFIGURATION!!

    i am able to establish a connection between 2 PCs in a LAN but cannot get the microphone to send audio to the other PC ... please help me with the code.
    private void initMicrophone()
    // i think the problem is with this line below, where it searches
    // for a device that does LINEAR encoding with the specified
    // SampleRate and SizeinBits in MONO format!!
    AudioFormat format = new AudioFormat("LINEAR", 8000, 8, 1);
    Vector devices = CaptureDeviceManager.getDeviceList(format);
    CaptureDeviceInfo di = null;
    if(devices.size() > 0)
    di = (CaptureDeviceInfo)devices.elementAt(0);
    else
    System.out.println("No devices found");
    System.exit(-1);
    lc = di.getLocator();
    would also provide the code of the full application ...if you can help me regarding that! thanx!
    i think the code of the whole application is running just fine ...the problem is as specified in the code sample provided!! ...if u still think that u need to have a look at my code ...please let me know! ..thanx so much!!

    sorry about posting this message twice!

  • Need help with Audio controller or cue points

    Haven't set up the actual project yet. Just trying to
    determine best method. Will be using Flash Pro 8.
    Goal: create an initial page showing a TOC that represents
    chapters in an hour long audio piece. Clicking a topic brings them
    to a certain point in the audio. Once leaving the TOC, the user
    will see a still PPT jpg associated with that section of audio. But
    they'll also need access to an audio controller so they can scrub
    to different portions of the audio. Once they let up, the PPT image
    needs to change -- if they went to a different section.
    So at first I thought about a regular flash set-up with the
    audio spanned throughout the timeline, PPT images set-up throughout
    the timeline, and frame labels to jump to. But I couldn't figure
    out how to set up an audio controller with this set-up.
    Then I thought about a Flash Slide Presentation set-up using
    a Media Playback component with the Media Controller component and
    cue points. I've looked at some of the on-line examples of this and
    they seem to work when playing forward but I notice that when you
    scrub backwards that the images fall out of synch. It seems if you
    have cues A, B and C and if you begin dragging from the C cue and
    let up BEFORE the B cue the image displays B. It should be
    displaying A though since your somewhere in-between A and B. But A
    doesn't show unless you scrub back far enough to cross the A cue
    time.
    So what is the best method. It seems the latter if there was
    only a way to calculate the time between the two cues. For instance
    "if time is >A but <B then display A".
    But the first example with the long timeline and frame labels
    would be fine if there was a nice controller out there that I could
    implement.
    And remember I need to be able to jump to any spot in the
    audio clip from the TOC menu on the first screen.
    Thanks!

    Is it AVCHD, Mini-DV, or DVD?  What format does the camera record to?

  • Need help with audio input device configuration!!

    I am able to establish a connection between 2 PCs in a LAN but cannot get the microphone to send audio to the other PC ... please help me with the code.
    private void initMicrophone()
    // i think the problem is with this line below, where it searches
    // for a device that does LINEAR encoding with the specified
    // SampleRate and SizeinBits in MONO format!!
    AudioFormat format = new AudioFormat("LINEAR", 8000, 8, 1);
    Vector devices = CaptureDeviceManager.getDeviceList(format);
    CaptureDeviceInfo di = null;
    if(devices.size() > 0)
    di = (CaptureDeviceInfo)devices.elementAt(0);
    else
    System.out.println("No devices found");
    System.exit(-1);
    lc = di.getLocator();
    would also provide the code of the full application ...if you can help me regarding that! thanx!

    i think the code of the whole application is running just fine ...the problem is as specified in the code sample provided!! ...if u still think that u need to have a look at my code ...please let me know! ..thanx so much!!

  • Needing help with a simple button

    Hey everyone
    I'm wanting to put a link on my flash banner to an external website. I have followed the example here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/2/help.html?content=00000 394.html
    but it still doesnt seem to work as when I click the button I get the Adobe Flash Player Security box seen in the screenshot I have attached. I have click settings and added the website as a trusted source but the link still doesnt take me to the website. I'm using actionscript 2 on request.
    Thanks in advance

    You should test using a browser.  I rarely run into that issue but I think you need to specify the location of the local swf file instead of the web url.

  • Need help with Motion Tracking-button in After Effects CS6

    Hello I just bought After Effects cs6 and wanted to try ''motion tracking'' but I just can't push the motion tracking button. Is there anyone who can help me with that problem?
    Responses are highly appreciated!

    In order for the motion tracking buttons to become highlighted, you first need to select the clip you'd like to track in the timeline:

  • Need help with Cluster of Buttons displaying a message to which button is being pressed.

    Create a VI with a cluster of six buttons labeled Option1…Option6. When executing, the VI should wait for the user to press one of the buttons. When a button is pressed, use the Display Message To User Express VI to indicate which option was selected. Repeat this process until the user presses the Stop button. The parameters of the problem needs me to use a while loop, case structure, a shift register and search 1d array. I'm just having trouble setting up my case structures and how to get the search 1d array to work with the cluster to find which button was pressed. I've attached a picture of my VI and also a VI I made without the cluster that does what I want the Cluster VI to do which is to recognize the button being pressed and bring up a prompt.
    Solved!
    Go to Solution.
    Attachments:
    Button Pressed.jpg ‏127 KB
    Buttons Pressed No Cluster.jpg ‏189 KB

    Okay so i moved the cluster into the while loop and wired a boolean true constant to the element of the search 1d array and now I can at least get the prompt for button 1 to display, but when I press the other buttons which I have set up the same way as button 1 I get no prompts so how can I get it to recognize the other buttons. Am I implementing the shift register incorrectly? 
    Attachments:
    Button Pressed 2.jpg ‏115 KB

Maybe you are looking for

  • Is there a way to tell why my mac keeps crashing?

    Hi all, I hope someone can help me out. For the last month or so my Macbook Pro keeps crashing for no apparent reason. I have the sneaking suspicion that it all started after I bought a Razer Mamber and installed their driver, but I thought I had del

  • How do I resize an image in Photoshop CS2?

    Hi! I'm trying to resize an image in Photoshop Cs2 with OUT making it grainy or blurred. Please help!? I know there's some key you can hold down while dragging with the mouse but eh I forgot it! o_0 please help!

  • Can i auto save contacts to the sim card?

    rather than having to do them individually?

  • Dreamweaver 8 and CF 8 Setup with Database

    In Dreamweaver I'm trying to set it up to connect to my database but its not working. I have CF8 and mysql 5.0x installed locally, and I have dreamweaver 8 installed. I also installed some Microsoft thing it required prior to installing CF8. In the C

  • No music or playlists on my iTunes?

    I hooked up my nano to my iTunes and my iTunes wont show that I have any playlists or music, what do I do?