Pages

Wednesday, January 6, 2010

external class file problem: seems to be solved by deleting "stage"

Well for some reason, adding "stage" in front of an ".addEventListener" in an external class file, will cause some problem onto it.

I've check some other sites, they also never place a "stage" in front of their event listeners, in their class files. Maybe it's because I was too keen to using "stage" for a long time, I've been using it whenever I I saw an event listener...

No comments: