• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

fade in/out library sound?

Community Beginner ,
Apr 01, 2012 Apr 01, 2012

Copy link to clipboard

Copied

hi all

having real problems finding anything about fading in and out sound in flash, have searched for 3 days now and found mostly as2 related articles, wondering if you could help me out?

i have the following

var myintSnd:introSound;

var sndintChannel:SoundChannel;

myintSnd = new introSound;

sndintChannel = myintSnd.play();

just wondering how i would fade in this sound using as3?

so that i could maybe reverse the solution, so that on buttonclick the music will fade out ready for the next frame

Ive heard it can be done using timers that increment the volume over time, but havent had much success with them, hope you can help, would much appreciate it

thanks

fonzio

TOPICS
ActionScript

Views

910

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 02, 2012 Apr 02, 2012

Copy link to clipboard

Copied

use sound in symbol , edit the sound there by customizing it

and import the symbol

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 02, 2012 Apr 02, 2012

Copy link to clipboard

Copied

hi and thanks for the reply

yes i used audacity to fade the sound in, so that worked, however i need to have the sound keep looping until a user clicks a button on which i need it to fade out,

can you help?

thanks

fonzio

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 03, 2013 Feb 03, 2013

Copy link to clipboard

Copied

LATEST

Don't know if you ever found a solution to fade in/out your loop, but if not this might help:

http://nekyouto-tech.blogspot.com/2012/07/as3-fading-sound.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines