A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: onSound Complete trouble

  1. #1
    Member
    Join Date
    Aug 2005
    Posts
    51

    onSound Complete trouble

    Hi,

    I'm trying to use a playing sound to trigger an event when it finishes:


    onSoundComplete = function(){
    redbtn._alpha = 100;
    redbtn.enabled = true;
    }

    I have the button fading and disabling nicely (on (release)) but when the sound stops playing, I need them to return to alpha 100 and enabled=true.

    Can anyone help me tweak this code? It doesn't work but there's no error generated either.

    dip

  2. #2
    Member
    Join Date
    Aug 2005
    Posts
    51
    I forgot to mention, the sound playing could be one of many selected randomly so rather than name the sound playing, I would like to just stop ALL sounds.

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