flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle McKnight <kamck...@gmail.com>
Subject Re: Hot to get smooth transitions in a flex mobile app
Date Sat, 27 Aug 2016 12:55:15 GMT
I believe mobile AIR might support workers? I'm unsure, haven't really
looked at them.


Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Sat, Aug 27, 2016 at 8:53 AM, Clint M <cmodien@gmail.com> wrote:

> If you run Adobe Scout and set -advanced-telemetry in your compiler options
> you can see exactly what is dragging down the frame rate.
>
> My guess is that you're processing the data response (populating classes
> with data) while the animation is happening for longer than the framerate
> allows.
>
> Flash is single threaded. So if you're executing an ActionScript function
> for longer than what your framerate is set to then you'll start pushing out
> the current frame. This is called "dropping frames". (1 second / 60fps =
>  16 milliseconds <- The amount of time you have on each frame.)
>
> If you're processing data (or executing any ActionScript function) for
> longer than 16 milliseconds @ 60 fps you'll prevent the ActionScript that
> controls the execution of the animation from executing on the frames it
> needs to execute on to look smooth to the human eye.
>
> On Sat, Aug 27, 2016 at 2:56 AM, chris_d_k <ck@christiankiefer.de> wrote:
>
> > Hi,
> >
> > our flex mobile app is using ViewNavigatorApplication and pure mvc. When
> we
> > change the view in most cases we also load data from the server.
> >
> > The transistions are using a SlideViewTransition,
> > suspendBackgroundProcessing is set to true.
> >
> > With some views the transitions are very choppy. Are there tricks to
> avoid
> > that?
> >
> > Kind regards
> >
> > Christian
> >
> >
> >
> > --
> > View this message in context: http://apache-flex-users.
> > 2333346.n4.nabble.com/Hot-to-get-smooth-transitions-in-a-
> > flex-mobile-app-tp13426.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>

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