Though now that I think about it, I think that that usually throws a different sort of error when the package path is off. So hmm.
You're sure you don't try to instantiate it anywhere above where you import it? I know that's highly unlikely, but that sure is what that error looks like. Try moving your import statement to the top of your list of imports?
On Fri, Jul 3, 2009 at 6:22 PM, Chip Brown <chipbrown@...> wrote:
I'm getting some weird (and very frustrating) errors in my flex app.
The reason they're weird and frustrating is because they make no sense.
The error I'm getting now is:
1046: Type was not found or was not a compile-time constant:
ControllerEvent.
Which is normally because you haven't imported a Class, but right
above where I'm getting the error is the import statement!
So is there something else that can cause this?
Is there something akin to Flash's ASO_Cache that needs to get dumped
when weird errors start popping up?
Thanks
-Chip