ご無沙汰しております。エンジニアの はる です。 前回は「Ruby on RailsとFlash(ActionScript)のXML連携」について、記事を掲載させていただきましたが、今回は、Ruby on RailsとFlash(ActionScript)の"LoadVars.sendAndLoadメソッド"を使用した連携について書いてみたいと思います。 Rails側とFlash側の作業は、 [Rails]テキスト形式の結果を返す。 [Flash]loadVars.sendAndLoadメソッドを使用して、データの送信・受信を行う。 となります。 [Flash(ActionScript)] #onClick時、Railsアプリに「test=1」「test=2」「test=3」を送信。 #Rails側で処理を行った後、result_lvでレスポンスを受け取ります。 on(release