문제

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).

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top