Yes, this component is neither UIComponent nor extend EventDispatcher and I don't have to change it to extend EventDispatcher because every things works well. For me it's so strange!! I don't know why.
On 04/06/2010, at 18:24, turbo_vb wrote: > 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 flexcoders@yahoogroups.com, "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 flexcoders@yahoogroups.com, 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 > > > > > > > -- Marco Catunda