i have the following code on the first frame of my movieclip

1. var navigationItems:Array;
2. function setTitle(var newTitle:String)
3. {
4. title_txt.text = newTitle;
5. }


it gives the error
1084: Syntax error: expecting identifier before var.
at line 2.
how to solve this problem?