如何获取html中的参数?(FlashBuilder4)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455354XXXX" width="${width}" height="${height}" id="${application}"> <param name="movie" value="${swf}.swf?sku=1234" /> <param name="quality" value="high" /> <param name="bgcolor" value="${bgcolor}" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="sku" value="1234" /> </object>
//获取所有的参数对象var params:Object = FlexGlobals.topLevelApplication.parameters;var skuParam:String = params.sku;