タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

actionscriptとjsonに関するaki77のブックマーク (2)

  • http://www.designvox.com/~borys/JSON/JSON.as

    /* Copyright (c) 2005 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Softw

  • flashでJSONを使う - koyachiの日記

    普通にJSON.as(ActionScript3じゃないほう)使うだけでJSONが使えます。mtascの場合だと、JSON.asをJSON利用コードと同じディレクトリに配置して、 var json_str:String = JSON.parse( '{"foo":"foo_text"}' ); var o:Object = JSON.parse( json_str ); log( o.foo );というように使う。 (個人的に)問題はサーバー間通信時で、割と複雑なデータをflashでサーバー間通信する場合、普通はXMLなんですかね?よくわからないけどぱっと見た感じそんな感じを受け、JSON使うのにXMLで包むのもどうかと思ったのでFlashのLoadVarsオブジェクトを使って通信してみることにしました(結局包むことには変わりないけど)。LoadVarsではcontent typeが'ap

    flashでJSONを使う - koyachiの日記
  • 1