如何限制flash只能在服务器上观看?也算加密SWF方法吧!
- 声明本文转自:http://www.flashbank.cn/article.asp?id=91第一种:在第一帧中加入如下代码:fscommand("allowscale","0");url="http://www.fllashbank.cn";if(_url.substring(0,22)<>url){gotoAndPlay(2);}else{gotoAndPlay(3);}actionsforframe2stop();actionsforframe3stop();可以看到,在这几行代码里我将url定义为网站的地址,而在后面进行了一个if判断注意:在此判断中利用了substrin…