Working perfectly here, you're probably doing something wrong. One thing to considerate though, is that using var, you declare a local variable, which means that it will only exist within its own local area, in this case, inside the function, but since you have the onRollOver handler inside the function as well, it shouldn't cause a problem and work
If your function is constantly executed (since it's an onEnterFrame handler), and you want the variable's value to be permanently changed to true, and are only reading the trace() function you've put there, then that's the problem. Each time the function is called, fireLit variable is re-declared, meaning that its value will be reset to false. To prevent this, declare the variable OUTSIDE the onEnterFrame function, so that it's only executed once.
I have returned, and am now 18
Last edited by Prid; 05-08-2012 at 08:41 AM.