A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: I can get a sound to loop unlimited times!!!

  1. #1
    zephyr Olly K's Avatar
    Join Date
    May 2002
    Location
    The Univerity of Wales, Newport
    Posts
    1,357
    What you do, is you add a new sprite to the scene that's invisible...so you don't put anything in it. At frame 1 you tell it to play the sound and set the sound so that it won't play if it's already playing. then at frame 2 you tell the scene to play!
    It'll keep playing over and over again so that as soon as the sound stops it has to start again immediately !!!!!!!!

  2. #2
    Senior Member Lys12's Avatar
    Join Date
    Feb 2001
    Location
    Munich, Germany
    Posts
    5,237
    that's good thinking, and it'll work, however if the framerate isn't set to a rather high value there might be gaps in playback. also the permanently playing sprite might slow down the movie alltogether.

    but thanks for the tip, it IS a good idea

  3. #3
    zephyr Olly K's Avatar
    Join Date
    May 2002
    Location
    The Univerity of Wales, Newport
    Posts
    1,357
    Originally posted by Lys12
    but thanks for the tip, it IS a good idea
    I know !

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