如何破解flash8中加密的swf
如何破解在flash8中加密的swf,这是我整理的一些,供大家参考。
复制内容到剪贴板代码:
package elect_fla
{
import flash.display.*;
import flash.events.*;
import flash.filters.*;
import flash.geom.*;
dynamic public class MainTimeline extends MovieClip
{
public var bitmap:Bitmap;
public var glow2:GlowFilter;
public var dis_bmp:BitmapData;
public var source_bmd:BitmapData;
public var glow3:GlowFilter;
public var h:Number;
public var w:Number;
public var offset_array:Array;
public var glow:GlowFilter;
public var bounds:Object;
public var logo_mc:MovieClip;
public var offset_x:Number;
public var offset_y:Number;
public var perlinNoise_bmd:BitmapData;
public var dmf:DisplacementMapFilter;
public function MainTimeline()
{
addFrameScript(0, frame1);
return;
}// end function
function frame1()
{
var _loc_1:Matrix;
var _loc_2:Point;
var _loc_3:Point;
var _loc_4:Point;
glow = new GlowFilter(16776960, 1, 1, 1, 100, 1, false, true);
glow2 = new GlowFilter(16776960, 0.6, 8, 8, 2, 1, false, false);
glow3 = new GlowFilter(16711680, 0.8, 10, 10, 3, 1, false, false);
offset_y = 2;
offset_x = 2;
logo_mc = new Logo();
var _loc_5:int;
logo_mc.y = 50;
logo_mc.x = _loc_5;
bounds = logo_mc.getBounds(logo_mc);
w = bounds.width + offset_x;
h = bounds.height + offset_y;
bounds.x = bounds.x - offset_x / 2;
bounds.y = bounds.y - offset_y / 2;
trace(bounds.x, bounds.y);
addChild(logo_mc);
source_bmd = new BitmapData(300, 300, true, 0);
_loc_1 = new Matrix(1, 0, 0, 1, bounds.x * -1, bounds.y * -1);
source_bmd.draw(logo_mc, _loc_1);
logo_mc.filters = [glow2];
dis_bmp = new BitmapData(w, h, true, 0);
bitmap = new Bitmap(dis_bmp);
this.addChild(bitmap);
bitmap.x = logo_mc.x + bounds.x;
bitmap.y = logo_mc.y + bounds.y;
perlinNoise_bmd = new BitmapData(w, h);
bitmap.blendMode = BlendMode.SCREEN;
bitmap.filters = [glow2, glow3];
this.addEventListener(Event.ENTER_FRAME, onEventEnterFrame);
_loc_2 = new Point();
_loc_3 = new Point();
_loc_4 = new Point();
offset_array = [_loc_2, _loc_3];
dmf = new DisplacementMapFilter(perlinNoise_bmd, _loc_4, 1, 1, 30, 30, DisplacementMapFilterMode.COLOR);
dis_bmp.applyFilter(source_bmd, source_bmd.rect, new Point(), glow);
return;
}// end function
public function onEventEnterFrame(param1:Event) : void
{
offset_array[0].x = offset_array[0].x - 3;
offset_array[1].x = offset_array[1].x - 2;
perlinNoise_bmd.perlinNoise(10, 20, 3, 64, true, true, 1, true, offset_array);
dis_bmp.applyFilter(source_bmd, source_bmd.rect, new Point(), glow);
dis_bmp.applyFilter(dis_bmp, source_bmd.rect, new Point(), dmf);
return;
}// end function
}
}
Word教程网 | Excel教程网 | Dreamweaver教程网 | Fireworks教程网 | PPT教程网 | FLASH教程网 | PS教程网 |
HTML教程网 | DIV CSS教程网 | FLASH AS教程网 | ACCESS教程网 | SQL SERVER教程网 | C语言教程网 | JAVASCRIPT教程网 |
ASP教程网 | ASP.NET教程网 | CorelDraw教程网 |