This is Flex 2? Correct, we no longer try
calling <event>Handler functions, you will need to do addEventListener
yourself and pass in the function name. Note that events now are typed as a
class, not Object (Event by default).
Matt
Can anyone tell me why the following doesnt work:
import mx.controls.CalendarLayout;
import de.richinternet.utils.Dumper;
class com.dr.containers.MultiCalendarLayout
extends CalendarLayout {
function
keyUpHandler(e:Object)
trace("IN KEY UP"); // Does NOT get called.
{
function
keyDownHandler(e:Object)
trace("IN KEY DOWN"); // Called just fine.
{
}
Do flex components no longer support Event Handler
functions? I tried
this with several other components like
SimpleButton.buttonDownHandler
and they do not work either.
Anyone?
Much appreciated!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|