losers
losers
Out of context: Reply #77
- Started
- Last post
- 144 Responses
- PonyBoy0
Enter response:
actually - all my audio tracks are running... their volumes just reach zero...
... the intervals are adjusting the volume.
function mySoundUp(){
volInterval = setInterval(volIntervalFunction, 300);
function volIntervalFunction(){
vol = mySound.getVolume();
if (vol>30){
clearInterval(volInterval);
}else{
mySound.setVolume(vol =+5);
}
};
};basically I have an iterval that's called via a function that turns the volume up and down.
There are multiple volume functions - one for each sound object that needs to fade in and out.... and they all switch on and off during the same moment.
what a load a shit that just was... i typed all that crap.