
-----------------------------------
jtplayte
Thu Jun 07, 2007 1:09 pm

Flash Code and IF statement ?*&amp;%^$
-----------------------------------
Hi Folks, 

very new to flash, learning lots, traditional procedural programmer (i.e. Turing in the 80's)

The following piece of code is not the program, just the part I am having trouble with.

I want the code to enter the "else" section, but it does not

var ticks = 10;
var m = 3;
var b = 1;
var numbpt = 0;
y = ticks;
x = (y-b)/m;
if ((x>-ticks) && (x