チェンジセット 1076

差分発生行の前後
無視リスト:
コミット日時:
2008/08/27 18:14:54 (5 年前)
コミッタ:
tasuku
ログメッセージ:

r27@poppop (orig r26): tasuku | 2008-03-11 17:47:48 +0900
now picoplayer get mml from direct HTTP request

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/gunyarapaint/trunk/nicopedia/gunyarapaint/Com.mxml

    r1075 r1076  
    3737    return true; // うまくいったら 
    3838  } 
     39   
     40  public static function postPicoForm(url:String, mml_id:uint):void { 
     41    var r:URLRequest = new URLRequest(); 
     42    var v:URLVariables = new URLVariables(); 
     43    r.url = url; 
     44    r.data = v; 
     45    r.method = URLRequestMethod.POST; 
     46    v.mmlid = mml_id; 
     47     
     48    navigateToURL(r); 
     49  } 
     50   
    3951  public static function navigate(url:String, target:String):void { 
    4052    var r:URLRequest = new URLRequest(); 
     
    4254    r.method = URLRequestMethod.POST; 
    4355    navigateToURL(r, target); 
     56  } 
     57   
     58  public function sendGetUrlRequest(url:String):void { 
     59    var r:URLRequest = new URLRequest(); 
     60    r.url = url; 
     61    r.method = URLRequestMethod.GET; 
     62    post(r); 
    4463  } 
    4564   
     
    7190  } 
    7291  private function postCompleteHandler(evt:Event):void { 
    73     ret.text = loader.data; 
    74     // PopUpManager.removePopUp(this); 
     92    dispatchEvent(new Event('completeGetData')); 
     93    PopUpManager.removePopUp(this); 
     94  } 
     95  public function getData():* { 
     96    return loader.data; 
    7597  } 
    7698  </mx:Script> 
  • as3/gunyarapaint/trunk/picokakiko/.actionScriptProperties

    r1075 r1076  
    1212<applications> 
    1313<application path="picokakiko.mxml"/> 
     14<application path="picoplayer.mxml"/> 
    1415</applications> 
    1516<modules/>