Dumb Sound question - HELP!

I have a button with action script that says when released, gotoandplay frame 3.
Frame 3 plays from frame 3-80, and has a sound dragged onto it (dragged onto frame 3).
The problem is, when I hit return on the timeline (in design mode), the sound plays fine.
At runtime, when I click the button, I can hear the sound channel open, but I don't hear the sound.
I've tried using WAV and MP3 sounds, nothing works.
What am I doing wrong?
Thanks for any help.

hi ,
I tried the scenario u have explained  with mp3 file and it is working fine for me .
This is the code in frame1 :
import flash.events.MouseEvent;
stop();
a_btn.addEventListener(MouseEvent.CLICK, handleButtonClick);
   function handleButtonClick( event:MouseEvent){
   gotoAndPlay(3);

Similar Messages

  • Dumb sound question

    I'm sure I'm doing something really stupid. I have a .wav
    file in the library of my .fla. I used the linkage to define for
    export the Class name of my_snd with a Base Class of
    flash.media.Sound. On my Flash timeline, I have the following code
    var sfx:*;
    var channel:SoundChannel;
    function initApp():void{
    //this is called after all frames are loaded
    channel = new SoundChannel();
    sfx = "my_snd";
    function playSound():void{
    //this function is triggered by a timer
    channel = sfx.play(); //I get an error saying TypeError:
    Error #1006: value is not a function.
    What am I doing wrong?
    P.S. I made the var sfx a wildcard type since I will have
    other sounds I will want to play dynamically at run time.
    Thanks in advance for any help!

    hi ,
    I tried the scenario u have explained  with mp3 file and it is working fine for me .
    This is the code in frame1 :
    import flash.events.MouseEvent;
    stop();
    a_btn.addEventListener(MouseEvent.CLICK, handleButtonClick);
       function handleButtonClick( event:MouseEvent){
       gotoAndPlay(3);

  • Neophyte -- dumb question -- help?

    I have a 3 yr old Powerbook G4 and, crazy, I know, still use dial-up. My husband just bought an iMac 6.1. We are NOT terribly computer literate. What's the best solution so we can both use these computers at home at the same time, wirelessly? I bought an Airport Extreme a couple of years ago but never used it. If I subscribe to a DSL service and plug in the Airport, will that do it? Does it matter which DSL? If this is too dumb a question, can you recommend a book I can read? (We're smart about other things, really....)

    If your Airport Extreme base Station is one of those with an internal modem (RJ11 jack with telephone symbol) then in the short term you can dust it off and use that to continue to connect to the Internet via dialup, letting the ABS make the call. Your husband's iMac could connect wirelessly as could your PowerBook G4. Activity on either machine can initiate the connection to your dialup ISP.
    Longer term, if DSL or cable or fiber internet is a solution, go for it. In this case, you would no longer use dialup, rather the ABS WAN port would connect to your DSL/Cable modem and provide your firewall, private LAN, and wireless LAN.

  • I have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    i have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    First we need to know which one of the 9 different models of MacBook you have. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.
    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports. Each would take a different adapter to connect with the TV.

  • I have just upgraded to 10.8 on my macbook pro and now I can't access itunes, videos and there is no sound - anyone help?

    I have just upgraded to 10.8 on my macbook pro and now I can't access itunes, videos and there is no sound - anyone help?
    It is an old macbook pro probably 6yo with the back lit keys - not under applecare anymore obviously. I downloaded the upgrade last night which took quite a while longer than it should have.
    Anyone else experienced this and can suggest something? many thanks Jo

    Run Software Update, wait till all the updates have finished downloading then restart the mac.

  • HT3986 i installed win 7 on my mac book, and the sound driver was installed successfully, but i don't hear any sound, please help

    i installed win 7 on my mac book, and the sound driver was installed successfully, but i don't hear any sound, please help

    Is the volume muted? Click on the volume icon in the system tray to see if it shows as muted. If that's the case, I know of a workaround to fix this because if you unmute the speakers now, the condition will come back when you reboot your computer. I don't know the exact steps off the top of my head at the moment as I'm not in front of my machine. Check this first and reply if muting was the problem and I will detail the steps needed to fix the problem.

  • Apple id is disabled, to reset the password I do not know the email and security question. help what to do?

    apple id is disabled, to reset the password I do not know the email and security question. help what to do?

    Hi ingaosk,
    Thanks for the question. Based on what you stated, it seems like you did not receive the reset email. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
    If you didn't receive your Apple ID verification or reset email - Apple Support
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

  • HT1349 I for get security question help my too rest , send to my mail :

    I send email for serves and send to my by email ling I tray eat not help my to rest my security question .
    No we to send security question to my email or what I down I tray from many days
    The serves send that and it,s not help : read it
    Hello,
    The following information for your Apple ID *********** was updated on 02/03/2013:
    Phone number(s)
    If these changes were made in error, or if you believe an unauthorized person accessed your account, please reset your account password immediately by going to iforgot.apple.com.
    To review and update your security settings, sign in to appleid.apple.com.
    This is an automated message. Please do not reply to this email. If you need additional help, visit Apple Support.
    Thanks,
    Apple Customer Support
    Tel my what I do I need my program and my many in my account and wan I need to seal program he asking security question , what I do
    I for get security question help my too rest , send to my mail : ***********
    <E-mail Edited by Host>

    Do not post your email adress here.
    Open your browser and go to iforgot.apple.com and follow the instructions there.

  • I have OS 10.9.4, and I can't change the basso alert sound for Reminders.  Works ok for the rest of the applications that use an alert sound.  Help?

    I have OS 10.9.4, and I can't change the basso alert sound for Reminders.  Works ok for the rest of the applications that use an alert sound.  Help?

    http://www.microsoft.com/mac/support
    http://answers.microsoft.com/en-us/mac/forum/macword?auth=1
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/microsoft-wor d-for-mac-2011-will-not-open-error/ecc42616-6f49-40bb-b8f5-e21c711ea359

  • HT201363 I forget security question, help me recover?

    I forget security question, help me recover?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (104340)

  • About Java 2 opaque font color question, help needed!

    About Java 2 opaque font color question, help needed!
    I was trying to test opaque font (the string has a foreground color and a background color), but i can't find the method for doing that.
    i can change foreground by Graphics2D.setPaint(Color.black).
    Anybody know how to change the background of the string?
    Thanks!

    Hi. The way I'd do it would be to use the font metrics to find the length of a string and draw a rectangle and then drawstring over the rectangle. If you want an example, I can post it although I suspect theres a better way.

  • I just rented a movie on apple tv and there is no sound! Help! I really wanted to see Crazy, Stupid Love tonight!

    I just rented a movie on apple tv and there is no sound! Help! I really wanted to see Crazy, Stupid Love tonight!

    Check your audio out and Dolby digital settings, try restarting the Apple TV by removing all the cables for 30 seconds.

  • I am trying to put sound fonts into a playable format in garageband. I followed all of the instructions on the sound font help page for Garageband, but I still cannot play the sounds, or get them to show up. Any suggestions?

    I am trying to put sound fonts into a playable format in garageband. I followed all of the instructions on the sound font help page for Garageband, but I still cannot play the sounds, or get them to show up. Any suggestions?

    Sorry, I was confused by your profile signature showing "GarageBand (Mac) '11".
    It is very similar in the newest GarageBand 10.0.2: 
    Enable Audio Units in the GarageBand Preferences > Audio/Midi.
    Create a software instrument track.
    Show the Smart Controls and click the button.
    In the Info panel scroll, to make the Audio Units brick visible and click the "Instrument" control.  Select "AuInstrument > Apple > DLSMusicDevice" and click it, to open the settings.
    This should show you a panel, where you can select a Sound Bank. Does that show your sound font?

  • I forgot my security queStions help me!

    I forgot my security queStions help me!

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Security' and fill in that you'd like your security questions/answers reset.
    You should get an email reply within, I think, about 24 to 48 hours (and check your Spam folder as well as your Inbox)

  • Dumb newbie question -- shell vrs linux console

    This is probably a dumb newbie question, but what is the difference between the shell screen and the linux console screen? I used another system before Arch and I believe there was only the shell screen! Does it matter which one is used?  Thanks -- Larry

    The console is the 2D text rendering thing. The shell is Bash, just a program that handles your input and has the console as output.
    If on the other hand you mean the console at startup, and you call that the console while you call xterm, etc. shells then the answer is different. It's just a matter of configuration if you automatically start X or not. A lot people use gdm or kdm to get a graphical login screen after bootup, others just type "startx" in the console when they want to start X.
    You can switch to the console with Ctrl+Alt+Fn where n is a number between 1 and 6. You can switch between consoles with Alt+Fn, X is on the last console, so to go back to X do Alt+F7.

Maybe you are looking for