A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: wait for hover sound to finish

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    3

    wait for hover sound to finish

    heya,

    i'm trying to get a sound (called "gong") to play when i hover over a button (called "yes"), then when the button is released, if the sound is done playing, jump to a url called "yes.htm"

    i've searched here but i'm just making a mess of things and everything i do just makes the errors in my output window longer

  2. #2
    Junior Member
    Join Date
    Jun 2007
    Posts
    3
    guess i should post what i have. please don't laugh...

    on (rollOver) {
    this.yes.gotoAndPlay("1");
    _global.Behaviors.Sound.gong.start(0, 1);
    }
    on (release) {
    gotoAndPlay();
    _global.Behaviors.Sound.gong.onSoundComplete = function()
    getURL("yes.htm", "_self");
    }

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    3
    oops, sorry i just saw the sticky topic.

    Flash MX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center