For loop with 2 conditions?! stuck

Hi!

I need to perform some action within only one for loop, under 2 conditions, so I wrote something like this :

for(var i:Number=myVar1; (i<myVar2 && i <myVar3) || (i>myVar2); i++){ …}

Well it seems Flash is running crazy when I’m compiling and firing this loop.
Is there restriction or another way to write this ?

Thank you!