Hi,
something very needed and requested is support for FocusEvents (FOCUS_IN
and FOCUS_OUT at least)
So I created Royale event FocusEvent and in the other hand create a branch
for things that I coded but still doesn't work
I want to know if the approach I'm doing is right, and what is missing to
make this work in Royale.
My bet is that:
* new royale event FocusEvent has the minimum required, but I think should
be reviewed by others that made other kind of events work like MouseEvent,
KeyboardEvent,...
One thing I notice is that in SWF two properties are commented since I
can't get compilation success with the properties not commented.
// this.keyCode = keyCode;
// this.direction = direction;
* The work committed on the branch "feature/focusevents" has:
- The FocusEventConverted. I coded this similar to
MouseEventConverter, again some review of this code is required.
- Then I wired this class with the rest in HTMLElementWrapper
- Finally I created the event metadata for FOCUS_IN and FOCUS_OUT in
UIBase
I don't know if something more is required, maybe event some support in
compiler, so I think at this point I can't continue my self.
Any help on this will be greatly appreciated.
thanks
--
Carlos Rovira
http://about.me/carlosrovira