Setting The Volume!

hi there,

does anyone around here know how to adjust a sound loop within a movie clip, not the overall sound of the SWF… just the individual movie clip!! :smirk:

If anyone would tell me i would appreciate it!! :thumb:

thnx in advance!! :slight_smile:

path.to.Mc._setVolume(vol amt);

I believe.

what do you mean by path to mc??

do you mean i have to create a movie clip, and within that apply the sound loop?

and where do i put this bit of action script!!

waiting for reply :sure:

*Originally posted by balroo *
hi there,

does anyone around here know how to adjust a sound loop within a movie clip, not the overall sound of the SWF… just the individual movie clip!! :smirk:

If anyone would tell me i would appreciate it!! :thumb:

thnx in advance!! :slight_smile:

You did say within the MC correct? When I say path.to.MC, I mean the path to the moveclip of the volume you want adjust. You either need to set instance names for your MC’s or use the already god given instance names.

I hope this helps you somewhat.

Sound object

Sound.setVolume
Sound.getVolume

Check out those links. =)

onClipEvent (enterFrame) {
if (i <= 100) {
S.setPan(i++);
}
}

That could be interesting…