Ryall
November 4th, 2002, 09:13 PM
Hey everyone,
I am using this code in a prototype for a group of menu buttons:
MCbutton.prototype.grow = function(){
twangSound = new Sound(this);
twangSound.attachSound("twang");
twangSound.start(0, 1);
this.onEnterFrame = function(){
this.targetScale = 145;
this.scaleMe();
this.checkscale();
}
};
How do I control the volume of the sound through AS?
Peace
I am using this code in a prototype for a group of menu buttons:
MCbutton.prototype.grow = function(){
twangSound = new Sound(this);
twangSound.attachSound("twang");
twangSound.start(0, 1);
this.onEnterFrame = function(){
this.targetScale = 145;
this.scaleMe();
this.checkscale();
}
};
How do I control the volume of the sound through AS?
Peace