Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HTTPServiceオブジェクトによってPOSTリクエストとして送信されるデータオブジェクトがありますが、結果ハンドラーでデータオブジェクトにアクセスできるようにしたいと考えています。これを行うための最良の方法は何ですか?
var token:AsyncToken = httpService.send(); token.yourPropertyName = yourObject;
AsyncTokenは動的オブジェクトであるため、実行時にプロパティを追加できます。次に、結果ハンドラーで、トークンに次のようにアクセスします。
event.token.yourPropertyName