最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
AS2/ AS3 SWF Encrypt5.0测试版的LOGO的方法
时间:2022-06-28 22:18:14 编辑:袖梨 来源:一聚教程网
根据自己的使用习惯写的,从理论上讲有可能会误把符合相同要求(尺寸和坐标与swf encrypt的logo一样及使用了默认实例名)的mc删除
function unswfencryptlogo() {
for (var p in this) {
var _mc = this[p];
if (typeof _mc == "object" && _mc._width == 0 && _mc._height == 0 && math.abs(_mc._x)<1 && math.abs(_mc._y)<1) {
_mc._name.indexof("instance") != -1 && (_mc._visible=false);
}
if (typeof _mc == "movieclip" && math.abs(160-_mc._width)<3 && math.abs(70-_mc._height)<3 && math.abs(_mc._x-100)<1 && math.abs(_mc._y-37.5)<1) {
_mc._name.indexof("instance") != -1 && _mc.unloadmovie();
}
}
}
unswfencryptlogo();
//-------------------------deleteswfencryptlogo-as3-------------------------
function unswfencryptlogo() {
for (var p:uint =0; pvar _mc = getchildat(p);
if (_mc as simplebutton && _mc.width == 0 && _mc.height == 0&&math.abs (_mc.x)<1&&math.abs (_mc.y)<1) {
_mc.name.indexof("instance") != -1 && (_mc.visible=false);
} else if (_mc as movieclip && math.abs(160-_mc.width)<3 && math.abs(70-_mc.height)<3&&math.abs (_mc.x-100)<1&&math.abs (_mc.y-37.5)<1) {
_mc.name.indexof("instance") != -1 &&(_mc.visible=false);
}
}
}
unswfencryptlogo();
相关文章
- 微博网页版快速访问-微博电脑版官方登录直达入口 02-15
- 樱花动漫下载最新版本-樱花动漫官方正版安装入口与使用教程 02-15
- 淘宝连续打卡免费领奖入口在哪-淘宝连续打卡免费领奖为啥没有 02-15
- 夸克浏览器2026官网登录入口-夸克浏览器在线打开官网 02-15
- 知乎网页版直达-知乎官网链接速递 02-15
- 二重螺旋充值入口在哪-二重螺旋官网月石晶胚充值通道 02-15