I’ve ran into other events that don’t work on components. I have to jog my memory on what they were.
We probably need a set of beads. > On Feb 17, 2019, at 11:41 AM, Carlos Rovira <[email protected]> wrote: > > Hi Alex, > > that seems to me a good aproach. Keyboard events seems to be working, so we > only need focus events (I think mostly IN/OUT) and if that could be PAYG, > it would the best option. > > thanks > > El vie., 15 feb. 2019 a las 20:28, Alex Harui (<[email protected]>) > escribió: > >> I suggested this thread so more folks would see it and so we wouldn't add >> more to the GH issue which is effectively complete. >> >> Focus/Key events for MXRoyale had a slightly different goal. The goal was >> to reuse the Flash event names (mixed case like focusIn/focusOut) since use >> of constants wasn't a best practice. >> >> In Basic, I think Keyboard events should be working. I didn't test it, >> but it looks like the right code is there. I didn't see any work to do >> FocusEvents in Basic. >> >> We need to decide what we want to do for FocusEvents. It looks like it >> could be as simple as having a FocusEvents bead that that injects focus >> event names in ElementEvents. Then your listeners should get called, but >> the type of the event won't be a FocusEvent. If you want an actual >> FocusEvent then a FocusEventConverter will be needed. Both could be beads >> so it is PAYG. >> >> HTH, >> -Alex >> >> On 2/15/19, 10:38 AM, "Carlos Rovira" <[email protected]> wrote: >> >> Hi, >> >> Alex make focus/key events for MXRoyale. I asked him about the state of >> that events in normal royale development (basic). >> He point me to create this thread. >> >> I used focus/key events in our app, but targeting directly to JS, so >> that's >> a bit ugly, non platform agnostic, and definitely not the "Royale-way" >> to >> do things. >> >> There's for example a bead DispatchInputFinishedBead, that's very >> convenient for now, but I think we need focus/key events as part of our >> infrastructure. >> >> I tried some months ago to bring that support, but I failed to make it >> work. >> >> Maybe the current work for MX could be easily but to solve the basic >> royale >> as well. >> >> Thoughts? >> >> -- >> Carlos Rovira >> >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C7a2a0276592946272b1508d69374d1d0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636858527280378368&sdata=qs2l6zp2mptfpnOXQ5TTwo2AfNEGNblPRcRXDXzZIzM%3D&reserved=0 >> >> >> > > -- > Carlos Rovira > http://about.me/carlosrovira
