我试图让当前浏览器的URL。已经tryed与外部通话,并没有工作......而随着与LoaderInfo.url我收到当前SWF的URL。
I'm trying to get current browser url. already tryed with External Call, and didn't work... And with loaderInfo.url i receive the current SWF url.
Thansk
给这个一展身手:
import flash.external.ExternalInterface;
var url:String = ExternalInterface.call("window.location.href.toString");
if (url) textfield.text = url;
应该做的伎俩。
should do the trick.
上一篇:任何方法有一个ActionScript 3(的Flex / AIR)项目打印到标准输出?有一个、标准、方法、项目
下一篇:使用C#在Active Directory中检查用户名是否存在是否存在、用户名、Active、Directory