SpringGraphã使ã£ã¦é£æ³ã¯ã¼ã
SpringGraphã使ã£ã¦Yahooã®é¢é£ã¯ã¼ãã表示ãã¦ã¿ã¾ããã
http://moeten.info/flex/20080613_rensouTest/bin-release/main.html
ããã«ã¯ãªãã¯ã§ããã«åè£ã表示ãããã¨ãã§ãã¾ãã
é¢é£ãªã³ã¯
ä»åæ°ãã¤ãããã¨ã¨ãã¦Yahooのサービスから返されるxmlã«ã¯namespaceããããã対å¿ããã¾ãã
namespace ns = "urn:yahoo:jp:srchunit";
use namespace ns;
ãã¨ã¯ã¢ã¤ãã ãä½æãã¦ããã¢ã¤ãã å士ããªã³ã¯ããã°ï¼¯ï¼«ã
var len:int = hts.lastResult.Result.length(); for( var i:int = 0 ; i < len ; i ++ ){ //ã¢ã¤ãã ã®ä½æ var item:AmazonItem = new AmazonItem( cnt.toString() , hts.lastResult.Result[i] ); itemArr[cnt] = item; cnt++; g.add(item); //ãªã³ã¯ g.link(item, prevItem ); s.dataProvider = g; }
ãµã¸ã§ã¹ãï¼åè£ï¼ã¨ãã¦ä¾¿å©ããï¼¼(ããï¼¼)(ï¼ãã)ï¼