开发者

Getting "waiting for www.adobe.com" when starting a flex application

Everytime I start my Flex application (as opposed to Air), Firefox is "waiting for www.adobe.com".

I am pretty sure that namespaces URL are not loaded, so why is Flex reaching out to adobe? Flas开发者_运维知识库h update?

I am using Flash Builder 4.5


Take a look at your template.html file in the html-template folder. The default template inserts images that get loaded from adobe.com.

Replace

<script type="text/javascript">
    var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
    document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
                    + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
</script>

with

<script type="text/javascript">
    var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
    document.write("<a href='http://www.adobe.com/go/getflashplayer'>Get Adobe Flash player</a>" );
</script>

and

<a href="http://www.adobe.com/go/getflashplayer">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
</a>

with

<a href="http://www.adobe.com/go/getflashplayer">Get Adobe Flash Player</a>

That should do the trick.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜