My little code:
[AS]
var hsp = !((76-24)/(80-60)-(85-24)/(120-60)<0) ^ (60<=80 == 60>120);
trace(hsp);[/AS]
In AS2 there is no problem but in AS3 error is like this:
1067# Implicit coercion of a value of type Boolean to an unrelated type Number
What is the problem? Thanks…