Using potentiometer to dim Lights, controlling volume etc.?

I Live in a suburb of India I have found a radio shack here. I have managed to found only one kind of rotary potentiometer there ie, A10K(Brand: I-MAXX Made in Taiwan) with 3 pins on the side and 2 pins at the bottom... (something like the pic however instead of the blue bottom I have sea green). Well how to embed it in an led circuit or speaker circuit to dim the light or control the volume of a speaker respectively..... Thanks....

Picture of Using potentiometer to dim Lights, controlling volume etc.?
OK the two pins on the back are on off switch.

The three pins are the adjustable resistor and for controlling LEDs they are connected one way.

For controlling volume they are connected a different way.

do you need schematics?

Joe
i do need a schematics for both the speaker and the LED circuit
these are the two basic circuits
answer 2.bmp