PDA

View Full Version : Sound [MX]



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

pom
November 5th, 2002, 02:46 AM
Oh, come on Ryall, not you!! :*(

OK, answer: read the tutes, check the best of Kirupa. :evil: :evil: :evil: :evil:

Ryall
November 5th, 2002, 01:01 PM
Haha... I guess we all have our moments! I could have sworn they didnt mention it in that Flashkit link you gave in the best-of-kirupa.. but alas, after rechecking this morning I saw it right away, must have been slipping yesterday. :cowboy:

It's all good now, got the info I need, thanks.

Peace