WEB开发网
开发学院图形图像Flash Flash Decompiler Trillix review 阅读

Flash Decompiler Trillix review

 2009-10-18 00:00:00 来源:WEB开发网   
核心提示: and this is the one generated by Flash Decompiler Trillixpackage{importflash.display.*;importflash.events.*;importflash.filters.*;importflash.geom.*

and this is the one generated by Flash Decompiler Trillix

 package 
{
    import flash.display.*;
    import flash.events.*;
    import flash.filters.*;
    import flash.geom.*;
 
    public class as3displace extends flash.display.Sprite
    {
        public function as3displace()
        {
            this.the_bitmap = new flash.display.Bitmap();
            this.the_image = new malecon(500, 373);
            this.the_displace = new displace_movie();
            this.starting_point = new flash.geom.Point(0, 0);
            this.displacement_map = new flash.display.BitmapData(100, 100, true, 8421504);
            this.displacement_filter = new flash.filters.DisplacementMapFilter(this.displacement_map, this.starting_point, 1, 2, 50, 50, "color", 0, 1);
            super();
            this.the_bitmap.bitmapData = this.the_image;
            this.displacement_map.draw(this.the_displace);
            addChild(this.the_bitmap);
            addEventListener(flash.events.Event.ENTER_FRAME, this.onFrame);
            return;
        }
 
        public function onFrame(arg1:flash.events.Event):*
        {
            this.starting_point.x = mouseX - 50;
            this.starting_point.y = mouseY - 50;
            this.displacement_filter.mapPoint = this.starting_point;
            this.the_bitmap.filters = [this.displacement_filter];
            return;
        }
 
        var displacement_filter:flash.filters.DisplacementMapFilter;
 
        var the_displace:displace_movie;
 
        var the_image:*;
 
        var starting_point:flash.geom.Point;
 
        var displacement_map:flash.display.BitmapData;
 
        var the_bitmap:flash.display.Bitmap;
    }
}

It’s a bit different, but it works the same way

Final considerations

A personal license costs $79.95, both for PC and Mac OS, and all in all is a must-have if you are a Flash developer. Besides strange cases like the web company one I discussed before, it’s really a tool that can save you hours and hours should your fla file get damaged or lost.

本文示例源代码或素材下载

上一页  1 2 3 

Tags:Flash Decompiler Trillix

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接