POSTやGETを使うようなので複数の値を一度に渡すためには、
下記のようにphp側で1つに結合して渡して、
ActionScript側で分割利用という手を使うことになります
php側の出力
$all = "title=" . urlencode($title); $all .= "&type=" . urlencode($type); //二つ目以降は先頭に&が必要 以下続く echo $all;
ActionScript側での受け取りと代入
//PHPの実行が完了したとき function onComplete(event:Event):void { var vars:URLVariables = new URLVariables(event.target.data); stoneTitle.text = vars.title; stoneType.text = vars.type; 以下続く }