开发者

Flex: Controlling browser statusbar

My application has to call server several times per one second (to check if position on board changed or not). I didn't find anything better for now then implement a timer and call server so often to check if something was updated (actually only small amount of data is sent so I think nothing bad will happen). Anyway some browsers lik开发者_StackOverflowe firefox, shows in status line something like "Transferring data...", and the text which flicker there is annoying. I wonder if there is a way to control the status line from the flex application?


There's nothing you can use out-of-the-box in Flex (or Flash, for that matter) to control the status bar, you need to use JavaScript for that. Communicating Flash and JS is easy, just take a look to ExternalInterface.

Problem is this never ending "Transferring data" message in Firefox, it's annoying as hell, and I still haven't found how to get rid of it. I was once told sending some specific headers would do the trick, but just didn't fully work for me at that time.

I'd love to hear a definitive answer on this one as well.

Juan

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜