flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier Guerrero García <javi...@gmail.com>
Subject Re: Coding a better flex mobile app
Date Mon, 07 Apr 2014 14:48:25 GMT
...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.gg@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 <vincent@after24.net<javascript:_e(%7B%7D,'cvml','vincent@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 &lt;
>>
>> > vincent@
>>
>> > &gt; 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.
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message