...and never use a 300k component to do a division ;) Set a counter On enterframe, counter++ Set a timer each 5 secs On timer tick, {fps=counter/5;reset counter}
El lunes, 7 de abril de 2014, Javier Guerrero García <javi...@gmail.com> escribió: > Questioning.stop(); > Trying.start(); > > ;) > > And you should use stagetext instead, but thats just my opinion ;) > > El lunes, 7 de abril de 2014, After24 > <vinc...@after24.net<javascript:_e(%7B%7D,'cvml','vinc...@after24.net');>> > escribió: > >> I don't understand is this not the already the case with the >> LabelItemRenderer ? (cacheAsBitmap is set to true in the constructor). >> >> >> >> >> Javier Guerrero García wrote >> > :) wait until you enable caching and disable backgrounds ;) >> > >> > El lunes, 7 de abril de 2014, After24 < >> >> > vincent@ >> >> > > escribió: >> > >> >> Javier, >> >> >> >> Setting renderMode to direct has a significant impact, scrolling fps is >> >> now >> >> comprise between 40 and 46 fps. >> >> I'm using The spark LabelItemRenderer which is based on >> >> StyleableTextField >> >> for the label. >> >> >> >> >> >> >> >> -- >> >> View this message in context: >> >> >> http://apache-flex-users.2333346.n4.nabble.com/Coding-a-better-flex-mobile-app-tp5888p6054.html >> >> Sent from the Apache Flex Users mailing list archive at Nabble.com. >> >> >> >> >> >> >> >> -- >> View this message in context: >> http://apache-flex-users.2333346.n4.nabble.com/Coding-a-better-flex-mobile-app-tp5888p6057.html >> Sent from the Apache Flex Users mailing list archive at Nabble.com. >> >