The definition of base class EventDispatcher was not found. but it's imported, right?
Posted on 2012-03-27
I have code that looks something like this
//Blah blah, some code here
class StyleEventDispatcher extends EventDispatcher
And I am getting the error: The definition of base class EventDispatcher was not found.
Since the EventDispatcher is supposed to be in flash.events, why is it telling me this? This is my first flex project so do I need to do something to tell it where the flash package is? Shouldn't it be there by default?