How do you assign two different for loops to the same if statement. For instance:
for(var i:uint=0; i<Array.length; i++)
for(var j:uint=0; j<Array2.length; j++)
SAMPLE IF STATEMENT
if(Array[i] + Array[i] == Array[j]-Array )
I've tried various combinations that either return errors or dont work correctly.
What you show is somewhat sound, but you are dealing with two different arrays in those loops (Array, Array2), and only one of them in the conditional (Array). Using two loops in tha manner is normal. So maybe you need to focus on what your are really trying to test in that conditional - from this end it is undeterminable.