Hi guys sorry if this is a simple question, but I've been trying to do this all day! So far I've been lucky and managed to find examples of everything else I've tried to do.

Im making a game where you can modify a car, one of the options is to add different sets of wheels. I have 30 different wheels and I want to hide all the wheels apart from the ones the user has selected. I know I could do it like this:

fivedoor_wheels.wheel1_btn.addEventListener(MouseE vent.CLICK, wheel1);

function wheel1(event:MouseEvent):void {
wheel1a.visible=true;
wheel2a.visible=false;
wheel3a.visible=false;
wheel4a.visible=false;
wheel5a.visible=false;
wheel6a.visible=false;

etc etc....

But there must be a simpler way, as it will take ages to do this for all 30 wheels. Can anyone shed any light on this or point me in the right direction please? I've been looking at else and if statements but cant seem to come up with anything that works.

Thanks Steve