stage force render / redraw

前端 未结 1 1345
小鲜肉
小鲜肉 2021-01-27 14:01

Normally I would listen to the ENTER_FRAME event and execute code each time a frame gets rendered.. But for my application this is too slow. The time between 2 ENTER_FRAME event

1条回答
  •  醉梦人生
    2021-01-27 14:26

    stage.Invalidate will force the stage to redraw. Its not suggested you should fix your time problem first.

    0 讨论(0)
提交回复
热议问题