Hi all,

When trying to dispatch an event from a custom class that extends 
cairngorm ViewHelper, I get this error:

 >> Call to a possibly undefined method 'dispatchEvent'

Firing the event from a function of the main view, same code, it works fine.

My function is something like, same in the view and in my custom viewhelper.

public function getPoblaciones(cp:String):void {
                var event : LocalidadesEvent = new LocalidadesEvent(cp);
                dispatchEvent(event);
}

Has anybody run into this issue?

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to