Kindisoft secureSWF
12:28 AM Posted by Sanjay
Here is a sample code:
Original code:
hoverButton_mc.addEventListener(MouseEvent.MOUSE_OVER, hover);
hoverButton_mc.addEventListener(MouseEvent.MOUSE_OUT, out);
function hover(e:MouseEvent):void
{
e.currentTarget.alpha = .5;
info_txt.text = "Mouse is on the button !";
}
function out(e:MouseEvent):void
{
e.currentTarget.alpha = 1;
info_txt.text = "Mouse is away from the button !";
}
Decompiled Kindsoft secureSWF code:
package in
{
import flash.display.*;
import flash.events.*;
import flash.text.*;
dynamic public class else extends MovieClip
{
public var case20:SimpleButton;
public var each:TextField;
public function else()
{
;
with (false)
{
var _loc_1:* = null - (null << (typeof(true))); var _loc_2:String = null; ; default xml namespace = -~null[_loc_2]; if (null) { if (!(_loc_1 && _loc_1)) { addFrameScript(0, this._20do); } } return; }// end function function _20do() { var _loc_1:Boolean = true; ; _loc_2 = typeof(null); if (!_loc_2) { ; _loc_2 = _loc_2; with (this in (false + 1) > null)
{
default xml namespace = null;
((null - 1)).case20.addEventListener(MouseEvent.MOUSE_OVER, this._20else);
;
if (_loc_1)
{
this.case20.addEventListener(MouseEvent.MOUSE_OUT, this._20for);
}
}
return;
}// end function
public function _20else(event:MouseEvent) : void
{
var _loc_2:Boolean = true;
;
with (null)
{
event = false;
var _loc_3:Number = NaN;
;
if (null || null - (-_loc_2 * (-_loc_2)) > null)
{
event.currentTarget.alpha = 0.5;
;
if (!((_loc_2 << (_loc_2 - 1) > (NaN + 1)) + 1))
{
}
}
this.each.text = "Mouse is on the button !";
return;
}// end function
public function _20for(event:MouseEvent) : void
{
;
this = false === false;
default xml namespace = !(null | true);
var _loc_2:String = null;
var _loc_3:String = null;
;
_loc_3 = null;
if (false)
{
}
if (!_loc_3)
{
;
false.currentTarget.alpha = 1;
}
this.each.text = "Mouse is away from the button !";
return;
}// end function
}
}
as you can see Kindisoft secureSWF is really good at this !!!
0 comments:
Post a Comment