Querys

I have this code atteched to a button.

on (release)  {

    query = querys.text;
    //Movieclip GotoAndPlay Behavior
    getURL("http://sxc.hu/browse.phtml?f=search&txt="+query+"&w=1", "_blank");
    //End Behavior
}

whenever i search where it say query it always say undefined where my query i txped in should go.