Setting the quality

i know that this is probably really easy to program but iā€™m just not very smart in actionscript :stuck_out_tongue_winking_eye:

can someone please write a script for a button that sets the quality for Low, medium high. (as in scripts for 3 buttons. each buttons sets a different quality)

thanks very much.
the experiences that i have made with people in these forums have only been good ones. you guys rock!

-Johannes