Hello, I was able to get everything to work as Blanius suggested but I have a problem with temps. This is because the answer is sometimes negative and I cannot get any display unless an answer is positive.
And what is the unicode for a math minus sign? I went online to look and I found 2212 as a unicode, but it still does not let me enter a minus sign. The same in Flash 8.
Any ideas.
This code works in flash 8 but not koolmoves.
txt1.restrict = "0-9 - .";
txt2.restrict = "0-9 - .";
txt1.onChanged=function(){
//to get F
if (txt1.text!=""){
t = txt1.text;
b = ((5/9)*(t - 32));
txt2.text = b;
}
}
txt2.onChanged=function(){
//to get C
if(txt2.text!=""){
t = txt2.text;
b = ((9/5)*t) + 32;
txt1.text = b;
}
}
Any programming language is at its best before it is implemented and used.