Thanks Josh, currently seems this method is not used at all in FlexJS, since a search doesn't show any ocurrence... maybe we could make UIBase to use ENTER_FRAME for SWF and this other one for JS? (even unify both under "ENTER_FRAME" event?)
2017-01-15 21:45 GMT+01:00 Josh Tynjala <[email protected]>: > requestAnimationFrame() is the web browser equivalent of Flash's > Event.ENTER_FRAME. > > https://developer.mozilla.org/en-US/docs/Web/API/window/ > requestAnimationFrame > > - Josh > > > On Jan 15, 2017 11:50 AM, "Carlos Rovira" <[email protected]> wrote: > > Hi Om, > > 2017-01-15 19:58 GMT+01:00 OmPrakash Muppirala <[email protected]>: > > > > > I prefer we create a ComponentUIBase based on UIBase and add this logic > > here. And make all components extend ComponentUIBase instead of UIBase. > > > > > But considere that at least in MDL we are in many cases extending FlexJS > basic components (Button, TextField...) > To do that, we'd need to replicate all the structure, what seems a > significant work. > > > > Yes, we should use the requestAnimationFrame method and do all the reads > > and writes in one go. That would improve rendering performance as well. > > > > > > > I didn't know about that method. I'm trying to search for > "requestAnimationFrame" in projects folder and subfolders but didn't find > anything. Could you provide more info? > > Thanks! > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
