<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Yahoo API Wrapper</title>
	<link>http://orangeflash.eu/?p=43</link>
	<description>Flash Platform and .NET Framework</description>
	<pubDate>Thu, 09 Sep 2010 14:54:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: mr datsun</title>
		<link>http://orangeflash.eu/?p=43#comment-12952</link>
		<author>mr datsun</author>
		<pubDate>Sat, 26 Apr 2008 12:26:06 +0000</pubDate>
		<guid>http://orangeflash.eu/?p=43#comment-12952</guid>
		<description>Feedback

I could not get your wrapper to work on line. I don't understand the intricacies but  flash failed to load a yahoo crossdomain.xml.

The sad fact is that yahoo have totally changed the API since you wrote your lovely wrapper.

I dug into the new API and found that if I used this code:

var searchService:SearchService = new SearchService();
var searchParams:SearchParams = new SearchParams();
searchService.addEventListener(SearchResultEvent.RESULT, returnResult);
searchParams.query = e.target.myterm;//my search string from a button mouse event
searchService.searchImages(searchParams);

//this last line is the line I changed from their example (searchImages not searchWeb)
//and I did this rather than find out how to send a image SearchService setting type into their API

Once I did this then all the code I used for your wrapper in the returnResult method worked exactly the same - the images loaded straight off and it also worked online.

Another note is that a yahoo appID seems to be no longer needed to authenticate the search.

Many thanks for you help and hope my feedback is some use to you or others.</description>
		<content:encoded><![CDATA[<p>Feedback</p>
<p>I could not get your wrapper to work on line. I don&#8217;t understand the intricacies but  flash failed to load a yahoo crossdomain.xml.</p>
<p>The sad fact is that yahoo have totally changed the API since you wrote your lovely wrapper.</p>
<p>I dug into the new API and found that if I used this code:</p>
<p>var searchService:SearchService = new SearchService();<br />
var searchParams:SearchParams = new SearchParams();<br />
searchService.addEventListener(SearchResultEvent.RESULT, returnResult);<br />
searchParams.query = e.target.myterm;//my search string from a button mouse event<br />
searchService.searchImages(searchParams);</p>
<p>//this last line is the line I changed from their example (searchImages not searchWeb)<br />
//and I did this rather than find out how to send a image SearchService setting type into their API</p>
<p>Once I did this then all the code I used for your wrapper in the returnResult method worked exactly the same - the images loaded straight off and it also worked online.</p>
<p>Another note is that a yahoo appID seems to be no longer needed to authenticate the search.</p>
<p>Many thanks for you help and hope my feedback is some use to you or others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mr datsun</title>
		<link>http://orangeflash.eu/?p=43#comment-12890</link>
		<author>mr datsun</author>
		<pubDate>Thu, 24 Apr 2008 08:54:03 +0000</pubDate>
		<guid>http://orangeflash.eu/?p=43#comment-12890</guid>
		<description>Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nirth</title>
		<link>http://orangeflash.eu/?p=43#comment-12883</link>
		<author>Nirth</author>
		<pubDate>Thu, 24 Apr 2008 00:37:31 +0000</pubDate>
		<guid>http://orangeflash.eu/?p=43#comment-12883</guid>
		<description>Hey
eu.orangeflash.webapis.yahoo.Yahoo has event - "result", you need to do following:
myYahooInstance.addEventListener(YahooEvent.RESULT, onYahooResult);</description>
		<content:encoded><![CDATA[<p>Hey<br />
eu.orangeflash.webapis.yahoo.Yahoo has event - &#8220;result&#8221;, you need to do following:<br />
myYahooInstance.addEventListener(YahooEvent.RESULT, onYahooResult);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mr datsun</title>
		<link>http://orangeflash.eu/?p=43#comment-12882</link>
		<author>mr datsun</author>
		<pubDate>Thu, 24 Apr 2008 00:13:33 +0000</pubDate>
		<guid>http://orangeflash.eu/?p=43#comment-12882</guid>
		<description>can I ask - what is the right way of getting the results back after the search is finished? I'm not sure what the YahooEvent is doing. I've tried adding an YahooSearchResultEvent listener to my Yahoo instance but it doesn't work and  I'm just guessing.

I'm thinking of hacking a callback for now but I'd like to know the most elegant way of doing it, please.</description>
		<content:encoded><![CDATA[<p>can I ask - what is the right way of getting the results back after the search is finished? I&#8217;m not sure what the YahooEvent is doing. I&#8217;ve tried adding an YahooSearchResultEvent listener to my Yahoo instance but it doesn&#8217;t work and  I&#8217;m just guessing.</p>
<p>I&#8217;m thinking of hacking a callback for now but I&#8217;d like to know the most elegant way of doing it, please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mr datsun</title>
		<link>http://orangeflash.eu/?p=43#comment-12879</link>
		<author>mr datsun</author>
		<pubDate>Wed, 23 Apr 2008 23:14:02 +0000</pubDate>
		<guid>http://orangeflash.eu/?p=43#comment-12879</guid>
		<description>Hi,
Excellent. You're the only person on the whole internet who has done this. You've actually made the Yahoo search API useable.

Am I the only person who finds the yahoo AS3 API and documentation totally incomprehensible? I wonder if that's why only two people have posted yahoo/flash examples on their site since it was first released?

I used to call a simple yahoo url to get image search results xml that i could parse easily in AS2 days. A shame that stopped working in AS3.

many thanks.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Excellent. You&#8217;re the only person on the whole internet who has done this. You&#8217;ve actually made the Yahoo search API useable.</p>
<p>Am I the only person who finds the yahoo AS3 API and documentation totally incomprehensible? I wonder if that&#8217;s why only two people have posted yahoo/flash examples on their site since it was first released?</p>
<p>I used to call a simple yahoo url to get image search results xml that i could parse easily in AS2 days. A shame that stopped working in AS3.</p>
<p>many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nirth</title>
		<link>http://orangeflash.eu/?p=43#comment-1020</link>
		<author>Nirth</author>
		<pubDate>Thu, 18 Jan 2007 13:56:14 +0000</pubDate>
		<guid>http://orangeflash.eu/?p=43#comment-1020</guid>
		<description>Oops, I've moved file and forgot to modify link,

http://lab.orangeflash.eu/flex2/webapis/YSAS3API.zip</description>
		<content:encoded><![CDATA[<p>Oops, I&#8217;ve moved file and forgot to modify link,</p>
<p><a href="http://lab.orangeflash.eu/flex2/webapis/YSAS3API.zip" rel="nofollow">http://lab.orangeflash.eu/flex2/webapis/YSAS3API.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: _sevenDust</title>
		<link>http://orangeflash.eu/?p=43#comment-1018</link>
		<author>_sevenDust</author>
		<pubDate>Thu, 18 Jan 2007 12:08:33 +0000</pubDate>
		<guid>http://orangeflash.eu/?p=43#comment-1018</guid>
		<description>Hi, link is invalid. Found it under http://orangeflash.eu/wp-content/ysas3api.zip though</description>
		<content:encoded><![CDATA[<p>Hi, link is invalid. Found it under <a href="http://orangeflash.eu/wp-content/ysas3api.zip" rel="nofollow">http://orangeflash.eu/wp-content/ysas3api.zip</a> though</p>
]]></content:encoded>
	</item>
</channel>
</rss>
  
