开发者

Flex: application hangs on "Loading..."

I've got a Flex application that loads without issue when offline, but once I embed it in a webpage it hangs on “Loading…”:

Flex: application hangs on "Loading..."

I've tried fiddling with the -use-network compile flag to no avail.

I've also watched the network traffic with Charles, and I see two requests for the SWF (ie, GET /foo.swf), both of which complete successfully, then nothing else.

What am I missing?

Edit: I've开发者_如何学Go determined that it's not a problem with the SWF — when I run a server using python -m SimpleHTTPServer, everything loads and runs properly. It only appears to break when I'm using Django's static media server.


Do you use debug version of Flash Player? If no, install it and hopefully you will see the problem.


After some trial and error, I've determined that the problem "was caused" by Django's gzip middleware. When I turned that off, the swf loaded properly and everything was happy. I have no idea why this might have been, though…

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜