var vol:Number=0; var r:Sound = new Sound(); r.attachSound("Intro"); r.setVolume(vol); r.start(0,9999); onEnterFrame=function(){ vol+=2; if(vol>=100){delete(this.onEnterFrame);vol=100;}; r.setVolume(vol); };