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

AS3 Custom Mouse Cursor Flickering at 60 fps

Community Beginner ,
Aug 17, 2019 Aug 17, 2019

Greetings.

I am having an issue where my custom mouse cursor is flickering. It only does this when the frame rate is high (60 fps) and it works normally at 24 and 30 fps.
I would really like to keep this project at 60 fps but I can't figure out how to stop the flickering. I used the code snippets to create the custom cursor and I've tried adding lines to disable the mouse and the mouse children but the flicker persists.

The cursor itself is a shape that I copy/pasted from Illustrator. It does not have any effects like drop shadows or transparency, it's just a simple drawing of a bear.
The file is an Actionscript 3 AIR for Desktop.  

Does anyone have any idea how I can stop this flickering??

226
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 ,
Aug 17, 2019 Aug 17, 2019
LATEST

you probably have some mouse listener(s) causing the problem.  to confirm, comment the listeners out and test.

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