开发者

Flush Flex VideoDisplay request queue

When a command like play(), pause(), or seek() is called while the videoDisplay is un开发者_运维知识库responsive it gets put on a queue, how do I flush this queue so the most recent command is the only command processed?


Instead of trying to flush the queue, check to see if the stateResponsive is true. If true, send the command to the videoDisplay, if false, store the command until the videoDisplay's stateResponsive is true and then send the command.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜