A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: asking sound object whether sound is playing

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Location
    eu.rope
    Posts
    15
    hello

    is there any chance to ask the sound object, whether it is playing a sound or not?
    or even better something like
    on (finishSound) {
    mymovie.gotoAndPlay(20);
    }
    ???

    there is not much written about the soundobject. but as i heard there are many things possible which are not documented, maybe someone of you knows about it?

    cheers in advance

    saludos

    lamb_retta

  2. #2
    Junior Member
    Join Date
    Aug 2000
    Location
    eu.rope
    Posts
    15
    hello again

    ...is anyone experienced with the soundobject? are the pro's of the soundobject just, that i can link and exchange sounds to it?

    cheers

    rondo_lotto

  3. #3
    Stick In The Mud
    Join Date
    Oct 2000
    Posts
    752
    Hi there,
    i'm afraid there's no such (useful functions) with sound objects...

    the only way to acheive this is to precalculate the lengths of the sounds and use a getTimer() loop to wait until the sound has finished...

    have a look at http://board.flashkit.com/board/show...hreadid=142404 for more details...

    hope this helps,
    Andy

  4. #4
    Junior Member
    Join Date
    Aug 2000
    Location
    eu.rope
    Posts
    15
    oh yes mate it helped a lot.
    thank you

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