摘要:
c++操作falsh,忘了原文在哪了,自己尝试了,直接贴代码 1 // SDK版本 2 //////////////////////////////////////////////////////////////////////////////// 3 // Use swflash.ocx to play flash 4 // if it works, it is written by masterz, otherwise I don't know who writes it(*_*) 5 ////////////////////////////////////... 阅读全文
摘要:
lua对象json序列化,很简单,没做中文的unicode编码了local function bool2json(v) return v and "true" or "false";endlocal function string2json(s) return table.concat({"\"", s, "\""});endlocal allowedkey={ ["boolean"]=true, ["number"]=true, ["table 阅读全文