有的时候,就很特别。不去获取URL地址里边的get方式过来的参数,而要获取整个的URL地址。这个时候怎么办呢。请用这个:

encodeURI(ExternalInterface.call("function getUrl(){return window.location.href;}"))