Alright so this isn't an issue with my program not working, it's more of a fact that I wanna learn to code better. This is one of 6 if else statements that I use inside of my program.  What I'm trying to do is make it shorter (easier) to do. I am learning AS3 with Flex 4.6 (started with Flex 4).  If I left something out that is important let me know I'll get it for you.  All the .text's can be changed at any time the user wants.Thanks In advance for any help!             if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 10){                bap.text = String(Number(1147))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 11){                bap.text = String(Number(1217))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 12){                bap.text = String(Number(1297))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 13){                bap.text = String(Number(1343))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 14){                bap.text = String(Number(1407))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 15){                bap.text = String(Number(1467))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 16){                bap.text = String(Number(1530))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 17){                bap.text = String(Number(1587))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 18){                bap.text = String(Number(1632))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 19){                bap.text = String(Number(1709))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized && asf.text == 20){                bap.text = String(Number(1754))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized XL && asf.text == 14){                bap.text = String(Number(1490))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized XL && asf.text == 15){                bap.text = String(Number(1560))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized XL && asf.text == 16){                bap.text = String(Number(1636))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized XL && asf.text == 17){                bap.text = String(Number(1703))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized XL && asf.text == 18){                bap.text = String(Number(1758))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized XL && asf.text == 19){                bap.text = String(Number(1848))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized XL && asf.text == 20){                bap.text = String(Number(1903))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 10){                bap.text = String(Number(1247))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 11){                bap.text = String(Number(1317))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 12){                bap.text = String(Number(1397))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 13){                bap.text = String(Number(1443))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 14){                bap.text = String(Number(1507))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 15){                bap.text = String(Number(1567))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 16){                bap.text = String(Number(1603))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 17){                bap.text = String(Number(1687))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 18){                bap.text = String(Number(1732))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 19){                bap.text = String(Number(1823))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro && asf.text == 20){                bap.text = String(Number(1878))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro XL && asf.text == 14){                bap.text = String(Number(1509))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro XL && asf.text == 15){                bap.text = String(Number(1660))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro XL && asf.text == 16){                bap.text = String(Number(1736))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro XL && asf.text == 17){                bap.text = String(Number(1803))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro XL && asf.text == 18){                bap.text = String(Number(1858))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro XL && asf.text == 19){                bap.text = String(Number(1962))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Motorized Pro XL && asf.text == 20){                bap.text = String(Number(2027))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Oasis && asf.text == 10 x 16){                bap.text = String(Number(1305))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 10){                bap.text = String(Number(927))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 11){                bap.text = String(Number(997))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 12){                bap.text = String(Number(1077))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 13){                bap.text = String(Number(1123))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 14){                bap.text = String(Number(1187))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 15){                bap.text = String(Number(1247))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 16){                bap.text = String(Number(1310))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 17){                bap.text = String(Number(1367))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Woven Acrylic && at.text == Vista && asf.text == 18){                bap.text = String(Number(1412))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 10){                bap.text = String(Number(1047))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 11){                bap.text = String(Number(1107))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 12){                bap.text = String(Number(1167))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 13){                bap.text = String(Number(1213))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 14){                bap.text = String(Number(1257))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 15){                bap.text = String(Number(1307))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 16){                bap.text = String(Number(1360))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 17){                bap.text = String(Number(1407))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized && asf.text == 18){                bap.text = String(Number(1452))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 10){                bap.text = String(Number(1147))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 11){                bap.text = String(Number(1207))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 12){                bap.text = String(Number(1267))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 13){                bap.text = String(Number(1313))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 14){                bap.text = String(Number(1357))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 15){                bap.text = String(Number(1407))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 16){                bap.text = String(Number(1460))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 17){                bap.text = String(Number(1507))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Motorized Pro && asf.text == 18){                bap.text = String(Number(1552))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 10){                bap.text = String(Number(827))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 11){                bap.text = String(Number(887))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 12){                bap.text = String(Number(947))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 13){                bap.text = String(Number(993))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 14){                bap.text = String(Number(1037))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 15){                bap.text = String(Number(1087))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 16){                bap.text = String(Number(1140))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 17){                bap.text = String(Number(1187))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else if (ft.text == Traditonal Laminated && at.text == Vista && asf.text == 18){                bap.text = String(Number(1232))                tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text))            }            else (bap.text = 0);// TODO Auto-generated method stub            tc_v.text = '$' + String(Number(bap.text) + Number(ac_.text));        }
How to simplify my else if statement
actionscript 3;actionscript