Flash Sound question

Discussion in 'Software' started by Jodi, May 10, 2005.

  1. Jodi

    Jodi Private First Class

    Hi Everyone, I have a Flash MX 2004 question if anyone might be able to help. It's probably very easy...ok here goes...
    Full Flash movie ...Sound currently loads when the movie does, and I have a button to toggle the sound OFF and back on again....how can I get it to NOT play the sound when the movie loads and have the button toggle the sound ON and off???
    THANK YOU EVERYONE
    Jodi
    (I have the action script for the button if that helps)
     
  2. goldfish

    goldfish Lt. Sushi.DC

    You could have a piece of actionscript on the sound so that when it loads, it stops itself. somthing like

    on(load) {
    stop();
    }

    :)
     
  3. Jodi

    Jodi Private First Class

    Thank you I'll give that a try =)
     
  4. Jodi

    Jodi Private First Class

    OK I gave that a try and this error message was returned:
    **Error** Scene=Scene 1, layer=Layer 63, frame=39:Line 1: Mouse events are permitted only for button instances on(load)

    =(
     
  5. goldfish

    goldfish Lt. Sushi.DC

    Ok well I'm not exactly hot on actionscript. There is another behaviour you can use for soundclips that will execute when they load. Look it up. :)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds