トップへ戻るニュースフォーラムFLASH-ML 過去ログBak@Flaダウンロードよくある質問と答
ログイン
ユーザ名:

パスワード:


パスワード紛失

新規登録
メインメニュー
メイン
   コーダーズルーム【スクリプト系】
     RemotingConnector接続エラーについて
投稿するにはまず登録を

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
knagai
Åê¹ÆNo.24203
投稿日時: 2006-3-7 23:17
職人
居住地: 白馬村
投稿: 796
使用環境:
Re: RemotingConnector接続エラーについて
コンポーネントは使っていないです。

よいやり方ではないような気がしますが、
とりあえずは"gatewa"でundefinedを出力し、"gateway"なら
"RE"を出力します。
コンポーネントの方もいろいろ試してはみたのですが、
ガードが固いです。

//インポート
import mx.remoting.Service;
import mx.remoting.PendingCall;
import mx.remoting.RecordSet;
import mx.rpc.RelayResponder;
import mx.rpc.FaultEvent;
import mx.rpc.ResultEvent;
import mx.remoting.Connection;
//
var conn:Connection = new Connection();
conn.connect("http://localhost:8500/flashservices/gatewa");
conn.onStatus = function(info) { 
	trace(info);
};
var videoService:Service = new Service(null, null, "サービス名", conn, null);
var pc:PendingCall = videoService.メソッド名();
pc.responder = new RelayResponder(_root, "re_Result", "fa_Fault");
function re_Result() {
	trace("RE");
}
function fa_Fault() {
	trace("FA");
}


----------------
永井勝則:
himco.jp :

フラット表示 前のトピック | 次のトピック

題名 投稿者 日時
   RemotingConnector接続エラーについて lancer 2006-2-27 12:25
     Re: RemotingConnector接続エラーについて newborn 2006-2-27 13:34
       Re: RemotingConnector接続エラーについて lancer 2006-2-27 14:27
         Re: RemotingConnector接続エラーについて newborn 2006-2-27 14:52
           Re: RemotingConnector接続エラーについて lancer 2006-2-27 18:08
             Re: RemotingConnector接続エラーについて knagai 2006-3-3 19:09
               Re: RemotingConnector接続エラーについて lancer 2006-3-6 14:02
                 Re: RemotingConnector接続エラーについて lancer 2006-3-6 20:05
     Re: RemotingConnector接続エラーについて lancer 2006-3-6 22:13
     » Re: RemotingConnector接続エラーについて knagai 2006-3-7 23:17
         Re: RemotingConnector接続エラーについて lancer 2006-3-8 10:29
           Re: RemotingConnector接続エラーについて knagai 2006-3-8 12:58
             Re: RemotingConnector接続エラーについて lancer 2006-3-8 20:09
               Re: RemotingConnector接続エラーについて knagai 2006-3-9 0:35
                 Re: RemotingConnector接続エラーについて lancer 2006-3-9 9:51

投稿するにはまず登録を
 
Copyright (C) 2003 FLASH-japan. All rights reserved.
Powered by Xoops