A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: background music over several scenes

  1. #1
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159

    Cool

    hi!

    im not exactly sure how to do this...

    i have a pretty big movie (its to run off a cd), composed inside several scenes.

    im trying to get an mp3 play in the bg througout the whole movie (to load and autoplay when the movie starts, and loop indefinitely). but, i also want to add a music on/off button, so that, obviously, if someone hates the music, they can shut it off. but, if they get lonely, they can bring it back

    my question is... how do i set this up on several scenes?

    if i place it in a movie clip, and have the music toggle button on every scene, wont the song start over when you load up every new scene?

    can someone walk me thru this? my head'll explode

  2. #2
    Junior Member
    Join Date
    Dec 2000
    Posts
    6
    Create a separate movie that includes your soundtrack (soundtrack.swf) Import your mp3 into that movie. In your main movie create a soundtrack layer that loads your movie into your scene (load movie action). Give it a level of say 10. Your toggle button should be given the unload movie 10 to unload the soundtrack. Your soundtrack should run across you scenes unless turned off. Turn the track on with an on button loading the track again.

    Good Luck

  3. #3
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    heya santy!

    thanks for the help!

    ill check that out. im not exactly sure what you mean (especially with that "10" bidniz), but, ill mess around with it, see what i can find.

    thanks!

  4. #4
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159

    Arrow

    ok.. i messed around with this for awhile, but, ... i have to admit, im clueless with this "level 10" stuff.

    could you (or someone) please explain this a little further? for us slow people?

    thanks!

  5. #5
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    um... anybody?

    not to be a major pain or nuthin, but... im sooo close to finishing this project. all i need is this final touch!

    thanks!

  6. #6
    Senior Member
    Join Date
    Sep 2000
    Posts
    405
    From the FK tutes section... just what the DR ordered... good luck....
    http://www.flashkit.com/tutorials/Au...71/index.shtml

  7. #7
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    off t'be tut'ed!

    thanks blutimus!

  8. #8
    Senior Member
    Join Date
    Sep 2000
    Posts
    405
    no problem... do let us know if it works out for you....

  9. #9
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    just finished. worked like a charm!!!

    you guys are the best!

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