Comparing Array Items AS3

here i am again with another probably-silly question. i am trying to compare arrays so that if any elements of one array are found within the second, then one condition of the if… else is triggered. basically, one array is itemAnswers, the answers the user has given and dynamically pushed to the array (this part works). the second is wrongAnswers, since full credit is only given if all correct answers are present and no wrong answers. here is what i’ve got so far:


var itemAnswers:Array = new Array;
var wrongAnswers:Array = [slipperyW, hillW];

if (itemAnswers != wrongAnswers)
    {
        road_response.text = "Good Job!";
        MovieClip(parent).numberCorrect ++;
    }
    else
    {
        road_response.text = "Wrong Answer!";
    }

i have also tried it with an array of righAnswers, and this statement:

if (itemAnswers = rightAnswers && itemAnswers != wrongAnswers)

but i get the implicit coercion error for the boolean.

i just want to make sure none of the items in the array wrongAnswers appear in the array itemAnswers.

i have been searching, but haven’t found anything specific to what i am trying to do and am stuck. I am new to arrays.

Thanks for reading!