"for" not working ! Need help !

Hi guys . I need your help . I use javascript & Unity 4.2 . Please see this script :

private var AllSounds : AudioSource;    
var isPause : boolean = false;

function Update(){
    AllSounds = GameObject.FindObjectsofType(AudioSource);
            for(var cnt : int , cnt < AllSounds.Lentgh , cnt++){

When i press ESc i see this error :


You never change the isPaused var in the script you showed.
So unless you change the variable in a different place, it will never go true, so the for loop will never evaluate.