According to their own use of the habit of writing, theoretically it is possible to mistakenly meet the same requirements (size and coordinates with the SWF encrypt logo and use the default instance name) of the MC Delete
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 &&A mp 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 && Amp 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; p<numchildren; p++) {
var _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 ();