Hey Steve,

The component that Marco is referring to is not a UIComponent, so it doesn't 
have a dispatchEvent() method.  He'll have to change thel class to extend 
EventDispatcher.

-TH

--- In [email protected], "valdhor" <valdhorli...@...> wrote:
>
> The component itself has a dispatchEvent method. The this keyword is implicit 
> in the call. It could have been written as this.dispatchEvent.
> 
> --- In [email protected], Marco Catunda <marco.catunda@> wrote:
> >
> > Hi,
> > 
> > I'm learning swiz framework and stumble upon this code 
> > http://www.pastebin.org/307313
> > at 
> > http://www.briankotek.com/blog/files/swiz_10_rc_example/srcview/index.html 
> > 
> > My question is how could flex compiler understand the 'dispatchEvent' 
> > method in
> > line 41 and 65? I haven't seen any explicit import of it.
> > 
> > Cheers
> > 
> > --
> > Marco Catunda
> >
>


Reply via email to