This content has been marked as final. Show 4 replies
I don't think you should be getting errors. Perhaps you can post your code.
You will get a warning/error line each time a problem gets hit. Often, a class is used many times in an app.
But the real answer is that you should actually fix the problem. What is the problem doing that?
The example you post is very easy to fix.
oops, I take that easy to fix part back, that code looks ok.
Hmm, have you run Menu, Project, Clean?
Ah, post the code where you are calling this function. Are you doing something like:
var myList:ArrayCollection = getList();
The three lines suggest you are calling it three times.