Is it possible to dispatch event from class that isnt extended class of MovieClip?

Is it possible to dispatch event from class that isnt extended class of MovieClip?

I created my own class and put
import flash.events.Event;
import flash.events.*;
but when i call dispatchEvent compiler throws error:“1180: Call to a possibly undefined method dispatchEvent.”

If there is can someone provide an example?