Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

flickering animated text

Enthusiast ,
Jan 24, 2014 Jan 24, 2014

Hi there,

Animating disks (orbiting another disk) with labels inside, I observe small variations in the location of the label relative to its parent circle, hence a flickering effect.

I used AntiAliasType.ADVANCED.

And I replaced the original Event.ENTER_FRAME event listener by a TimerEvent.TIMER one. But still flickering.

Any suggestion ? Thanks.

Gil

TOPICS
ActionScript
933
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 24, 2014 Jan 24, 2014

embed your font(s).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 25, 2014 Jan 25, 2014

Hi kglad,

I just tried embedding the font. But as I feared, the result is the same, whether using the system font or the one embedded 😞

I suspect it has to do with the fact that the labels jump from pixel rounded coordinates, while the circles are rendered un twix coordinates. With a text created at authoring, there are options Anti-alias for legibility versus Anti-alias for animation. I expected AntiAliasType.ADVANCED to be equivalent to the latter.

But may be seing the problem will help ? The files are there : https://app.box.com/s/y4dez4l7mswcndpuw6q2

Gil

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 25, 2014 Jan 25, 2014

enable cacheAsBitmap of your disques.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 25, 2014 Jan 25, 2014

Indeed, the circle+label being rasterized, there is no longer micro-motion of the label relative to its parent circle.

But  some circles are slightly clipped and that's now the whole circle+label that suffer from micro-motion ! Those defects are less annoying than in my first version. Thanks, kglad 🙂

And I am still interested in understanding the reason why those micro-motions. Is it inherent to rounding to pixel values ? I thought the player was computing in twixes (twentieths of pixel).

Gil

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 25, 2014 Jan 25, 2014
LATEST

no, the problems aren't from rounding.  they are all performance issues.

there are several things you can do to minimize the problem including increasing your frame rate, disabling mouse interactivity with your disques and if that's not possible disabling the mouseChildren property of your disques.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines