Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
如何得知NetworkLink是否加载完毕
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
朱鸿正  
View profile   Translate to Translated (View Original)
 More options Jun 10, 12:11 pm
From: 朱鸿正 <t8500...@gmail.com>
Date: Thu, 11 Jun 2009 00:11:27 +0800
Local: Wed, Jun 10 2009 12:11 pm
Subject: 如何得知NetworkLink是否加载完毕

我有段代码,需要加载一段动画,使用networkLink来进行加载.

var link = ge.createLink("");
 link.setHref(url);
 networkLink = ge.createNetworkLink("");
 networkLink.setName(url);
 networkLink.setLink(link);
 ge.getGlobe().getFeatures().appendChild(networkLink);

虽然可以成功加载,但是我却不能在其加载完后做一些提示等操作..
程序无法得知networkLink所加载的kmz文件是否已完成.

请问我该如何修改代码?或采用别的方式加载动画kmz ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
正在上网  
View profile   Translate to Translated (View Original)
 More options Jun 14, 10:55 pm
From: 正在上网 <t8500...@gmail.com>
Date: Sun, 14 Jun 2009 19:55:16 -0700 (PDT)
Local: Sun, Jun 14 2009 10:55 pm
Subject: Re: 如何得知NetworkLink是否加载完毕
要沉了..扛起.

On 6月11日, 上午12时11分, 朱鸿正 <t8500...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dorian  
View profile   Translate to Translated (View Original)
 More options Jun 30, 9:12 pm
From: Dorian <leedor...@gmail.com>
Date: Tue, 30 Jun 2009 18:12:43 -0700 (PDT)
Local: Tues, Jun 30 2009 9:12 pm
Subject: Re: 如何得知NetworkLink是否加载完毕
虽然没用过networkLink,但帮顶!

On 6月15日, 上午10时55分, 正在上网 <t8500...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
朱鸿正  
View profile   Translate to Translated (View Original)
 More options Jun 30, 10:21 pm
From: 朱鸿正 <t8500...@gmail.com>
Date: Wed, 1 Jul 2009 10:21:13 +0800
Local: Tues, Jun 30 2009 10:21 pm
Subject: Re: 如何得知NetworkLink是否加载完毕

谢谢Dorian,不过问题我已经解决了,参照官方的一个例子,使用了进度条,就是让浏览器定时执行某个脚本来实现。
具体代码参考:
http://code.google.com/apis/ajax/playground/#data_streaming_progress

2009/7/1 Dorian <leedor...@gmail.com>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google