-
1084:expecting identifier before var.
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?
-
Function parameters should not be preceded by "var".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|