随着RIA(Rich Internet Application)的流行,以往测试HTML类型的应用程序的方法对于测试Flash已经有点不够用了。
Kristopher Schultz在《Serious Techniques For Testing Your Sericous Flash Apps》一文中总结了测试Flash程序的方法,大概包括以下4个大的方...
原文:BrowserCanvas. The World’s Easiest Way to Dynamically Resize Flash
其实还是需要Javascript的帮助的,只不过无需写在页面中了,在Flash"内部处理"了。
ExternalInterface目前为止我只是用来和页面的JS通讯,像作者这样用从来没有考虑过,把J...
1. 采用ASnative函数检测右键点击。
if (ASnative(800, 2)(2)) {
// code to execute when the player tries to cheat
}
关于ASnative,是官方未公开放到帮助里的。可以看看这里:http://osflash.org/flashcoders/undocumented/asnative
2. U...