2009/08/05

AS3 讀取 GET 參數

(撰寫於 2009-01-17 )

URL = http://localhost/?member_num=xxx

AS3 寫法:
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
var member_num = String(paramObj["member_num"]);

沒有留言:

張貼留言