Pergunta

Is ENTER_FRAME always received, even if another process occupies the CPU, OR the listener might miss one or more ENTER_FRAME events -then receive several of those events delayed in a batch as usually happens in Windows?

(I'm using pure AS3 and Stage3D with 3D GPU rendering -no 2D display objects, Flash timeline, movieclips etc).

Foi útil?

Solução

ENTER_FRAME depends on frame rate. And frame rate is not a constant - it depends on a lot of factors, few of which are CPU and GPU. The listener won't miss anything, it's just that the ENTER_FRAME event will be dispatched irregularly.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top