A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Controlling multiple sounds in same piece

  1. #1
    Junior Member
    Join Date
    Apr 2000
    Posts
    6

    Question

    How can you do this? Say I have like 4 loops, and I want to start/stop them independently but can have more than 1 playing at the same time, and only stop the ones I want to stop.
    TIA,
    Smoothy

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,092

    Post

    Make four movie clips(MC)
    and add just the music into them

    In the first frame of the MC's
    add a STOP action
    add a keyframe in frame 2
    now add the music in to that frameand set the Sync box to START
    next make a keyframe in frame 3

    add the sound
    again only set the SYNC box to (STOP) that sound

    do that for all four songs

    now make four buttons

    next drag all four Music MC's on to the movie stage
    and give each one a Instance Name
    like song 1
    song 2
    song 3
    song 4
    Now with each button you can use the Tell Target
    to Go to and Stop (2)
    which is the song key frame

    if you want to stop it just
    Tell Target to go to Frame 5 and Stop



    Well i got to go....
    I'll check back tonite to see how your doing.



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