チェンジセット 1076
- コミット日時:
- 2008/08/27 18:14:54 (5 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/trunk/nicopedia/gunyarapaint/Com.mxml
r1075 r1076 37 37 return true; // うまくいったら 38 38 } 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 39 51 public static function navigate(url:String, target:String):void { 40 52 var r:URLRequest = new URLRequest(); … … 42 54 r.method = URLRequestMethod.POST; 43 55 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); 44 63 } 45 64 … … 71 90 } 72 91 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; 75 97 } 76 98 </mx:Script> as3/gunyarapaint/trunk/picokakiko/.actionScriptProperties
r1075 r1076 12 12 <applications> 13 13 <application path="picokakiko.mxml"/> 14 <application path="picoplayer.mxml"/> 14 15 </applications> 15 16 <modules/>

