TypeError: url.fetch is not a function

Alex S30 Jun 2011 1:45 PM
I have this for my updateView method:

updateView: function() {
var url = new URL();
url.location = "http://www.example.com/test.html";
var response = url.fetch();
this.controls.AboutCSTx.setText(response);
}

I get the following error: TypeError: url.fetch is not a function.
I'm using Framework/kontx/1.3/src/all.js
TVWidgetDocs30 Jun 2011 7:18 PM
Only asynchronous fetch is supported. You can review the Frequently Asked Questions here:


http://developer.yahoo.com/connectedtv/faq...ml#asynchronous
Alex S1 Jul 2011 1:07 AM
QUOTE (TVWidgetDocs @ Jun 30 2011, 06:18 PM) <{POST_SNAPBACK}>
Only asynchronous fetch is supported. You can review the Frequently Asked Questions here:


I tried an async call as well, and the result is "Could not load URL". Might be a problem with my SDK, because it wasn't even updating my widgets, it told me it cannot connect to the internet, i had to comment out some lines in the Konfabulator file to get around it.
Charles12 Sep 2011 2:39 PM
I tried the same thing and get the same error. Did you find a way around this?<br><br><div class="quote "><div class="quotetop ">QUOTE<cite>(Alex S @ 1 Jul 2011 1:07 AM)</cite><blockquote class="quotemain"><!--quoteo(post=24566:date=Jun 30 2011, 06:18 PM:name=TVWidgetDocs)--><div class="quote "><div class="quotetop ">QUOTE <cite>(TVWidgetDocs @ Jun 30 2011, 06:18 PM) <a href="index.php?act=findpost&pid=24566">&lt;{POST_SNAPBACK}&gt;</a></cite><blockquote class="quotemain"><!--quotec-->Only asynchronous fetch is supported. You can review the Frequently Asked Questions here:<!--QuoteEnd--></blockquote><!--QuoteEEnd--><br><br>I tried an async call as well, and the result is &quot;Could not load URL&quot;. Might be a problem with my SDK, because it wasn&#39;t even updating my widgets, it told me it cannot connect to the internet, i had to comment out some lines in the Konfabulator file to get around it.</div></div></blockquote></div></div>