whoknows361
Technical User
I want myif statement to check 2 different conditions.
for example.. If I were typing it would read:
if mynumber.text is greater or equal to 6 and mynumber.text is less than or equal to 11 AND colors is equal to 1, then my price would be 15.00
I tried writing it:
if (6=> mynumber.text =< 11 && colors == 1) {
_root.unitprice = 8.00;
this doesn't seem to work.. and I am not sure how to do this.. CAn someone please help me on how to do this.
I have a lot of various mynumber.text(s) - and a lot of colors values so there will be a lot of if and else if statemetns.
Thanks
Jonathan
for example.. If I were typing it would read:
if mynumber.text is greater or equal to 6 and mynumber.text is less than or equal to 11 AND colors is equal to 1, then my price would be 15.00
I tried writing it:
if (6=> mynumber.text =< 11 && colors == 1) {
_root.unitprice = 8.00;
this doesn't seem to work.. and I am not sure how to do this.. CAn someone please help me on how to do this.
I have a lot of various mynumber.text(s) - and a lot of colors values so there will be a lot of if and else if statemetns.
Thanks
Jonathan