Hejsa allesammen
Jeg drønede rundt på Yahoo´s developer site da jeg blev fangede af et Flex bibliotek så jeg skulle lige prøve hvor nemt det var at hente information for yahoo så jeg lavede lige en lige søge ting bare for at prøve det
.
1 2 3 4 5 6 7 8 9 10 11 | <?xml version="1.0" encoding="utf-8"?> <mx:Application layout="absolute" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:yahoo="http://www.yahoo.com/astra/2006/mxml"> <yahoo:SearchService id="searchService" applicationId="YahooDemo" query="{queryTextInput.text}"/> <mx:HBox defaultButton="{searchButton}" y="10" x="10"> <mx:FormItem label="Query:"> <mx:TextInput id="queryTextInput"/> </mx:FormItem> <mx:Button id="searchButton" label="Search" click="searchService.send()"/> </mx:HBox> <mx:List id="resultsList" dataProvider="{searchService.lastResult}" left="10" right="10" top="75" bottom="10" showDataTips="true" labelField="name"/> </mx:Application> |
damn det er et nice bib og jeg bare elsker Flex
.
Se den her Søg med Yahoo