A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Sounds from Over state

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

    Unhappy

    I am trying to make a simple interactive musical instrument.
    I would like there to be a background sound which is looped. Then where I have dropped a button(s) I want the sound to come up with a mouse pass over. If the mouse stays over the button the sound stays on, when the mouse is moved off the button the sound fades off.

    I thought i would start with four buttons. so far I can't even stop the sound from the buttons, it just keeps playing.

    Please please help.

    Thanking you in advance

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

    Smile

    Ok....
    The sounds that are for the buttons...

    You can do this...

    Either make movie clips for them or just
    make another layer in the buttons themselves.

    It's up to you...

    Try this make 4 buttons
    make 4 movieclips

    In each movie clip in the first frame add the stop action
    add a keyframe in the 2nd frame.
    add the sound and loop it 100 times
    in the Sync Box select START.
    now add a keyframe in frame 3
    add the sound again only this time
    in the sync Box ad STOP

    Give each movie clip an instance name
    like
    b-sound1
    b-sound2
    b-sound3
    b-sound4


    Now
    in each button
    On ROLL OVER
    Tell Target ("/instance name here")
    Go to and Play (2)
    End On
    On Roll Out
    Tell Target("/pick the same one")
    Go to and Stop (3)


    If you need an example i will send you one.




    [This message has been edited by jydnas (edited 17 May 2000).]

  3. #3
    Junior Member
    Join Date
    Apr 2000
    Posts
    11

    Thumbs up

    Thanks for that, Jydnas.

    But what about the fade in and out. Do I Put a fade in in Frame 2 of each movie? and a fade out in frame three of each movie?

    If it is not too much trouble could i bother you to make one so i can see it.

    Thanking you in advance

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

    Smile

    Ok in frame 1
    stop
    frame 2
    Music with fade in
    + stop action
    frame 3
    music looped 100 times
    with stop action
    frame 4
    music with Fade out
    and stop action
    frame 5
    music with SYNC box set to STOP
    and stop action.


    If you still get stuck then I'll send one out.


    [This message has been edited by jydnas (edited 18 May 2000).]

  5. #5
    Junior Member
    Join Date
    Apr 2000
    Posts
    11

    Question

    I don't know what i am doing wrong here.

    What is the best book out there for learning this type of thing in Flash?

    Perhaps it would be easier to read a book with illustrations.

    Thanks anyway for all your help.

    I think I will put this one on the back burner.

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

    Post

    There is a couple of books out there
    but from what i heard they are not really that good.

    You can check out
    Flash 4 Magic
    The Flash 4 Bible


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