A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: sound FADE with sound objects?

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    19

    Cool

    can sameone give me a tip how to make
    sound fade with sound objects?

    thanks a lot?

    bart
    http://www.bartnt.com

  2. #2
    The Definition of... Urbansory's Avatar
    Join Date
    Nov 2000
    Location
    Cleveland, OH
    Posts
    702
    You mean as in a volume controller? I guess it doesn't matter, it all works the same.

    In my first frame of the scene to hold the sound I have this script(note.I only use one frame for my site)

    sound1 = new Sound();
    sound1.attachSound("whoa");
    sound1.start(0, 999999);

    (*note-"whoa" is the linkage name of the song I'm using)

    (*Note-Now for my site I used a lot of things to get the volume slider to be on a curve, so I'm not getting into all that)

    volume = int(/:slider._x);
    (Note-slider is the name of the movie clip that I'm tracking to find the x position, and the value of the x becomes the value to set the audio)
    _level0.sound1.setVolume(volume);

    I'm sure the is a fla that uses a somewhat similar method on Flashkit.

  3. #3
    Senior Member
    Join Date
    Nov 2000
    Posts
    897
    please keep the threads in here dedicated to mac help. we have several actionscript and general help forums available to you. thanks. closing thread

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