Revision: 3188
Updated Code
at June 14, 2007 11:03 by Roshambo
Updated Code
function getParams(documentRoot):Object { try { var params:Object = LoaderInfo(documentRoot.loaderInfo).parameters; var pairs:Object = {}; var key:String; for(key in params) { pairs.key = String(params.key); } } catch(e:Error) { return {}; } return params; }
Revision: 3187
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 14, 2007 11:02 by Roshambo
Initial Code
function getParams(documentRoot):Object { try { var params:Object = LoaderInfo(documentRoot.loaderInfo).parameters var pairs:Object = {}; var key:String; for(key in params) { pairs.key = String(params.key); } } catch(e:Error) { return {}; } return params; }
Initial URL
Initial Description
Initial Title
Get document's URL arguments and FlashVars (a.k.a. parameters)
Initial Tags
url
Initial Language
ActionScript 3