关于“使用SwfDotNet库的SWF反编译器"的帮助 [英] Help Regarding "SWF decompiler with the SwfDotNet library"

查看:121
本文介绍了关于“使用SwfDotNet库的SWF反编译器"的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 我正在使用SwfDotNet库,无法确定如何获得形状的颜色. 例子: 我有一个简单的swf文件,其中包含一个用红色填充的矩形.是否有一种方法可以获取rect填充的颜色并可以对其进行修改(将一种颜色更改为另一种颜色).由于在SwfDotNet帮助文件中,没有任何类的示例用法. 您的帮助将不胜感激. 谢谢, Soni

Hi All, I am using SwfDotNet library.I am not able to make out how to get the color of a shape. example: I have a simple swf file which contains a rectangle with color filled RED.Is there a way wherewe can get the color with which rect is filled with and can modify the same(changing one color to other).Plesea help me out with sample code since in SwfDotNet help file,there is no sample usage of any classes. Your help would be appreciated. Thanks, Soni

推荐答案

我假设您是指如何使用SwfDotNet库创建简单的SWF反编译器" 文章,该文章使用SwfDotNet.看起来它具有您需要的一切.您是否看过 DefineShape3Tag DefineMorphShapeTag 或定义形状等的各种其他类?您是否查看了属性和子属性以查找颜色?看起来颜色的多种表示方法之一是 SwfDotNet.IO.Tags.Types.ColorMapData.ColorTableRGB .我只是找到一个简单的SWF文件,并遍历所有标签以及标签的所有属性,依此类推,直到找到颜色数据为止.
I assume you are referring to the "How to create a simple SWF decompiler with the SwfDotNet library" article, which uses SwfDotNet. Looks like it has everything you need. Have you looked at DefineShape3Tag, or DefineMorphShapeTag, or the various other classes that define shapes and such? Have you looked at the properties and sub-properties to find the color? Looks like one of the many ways of representing color is SwfDotNet.IO.Tags.Types.ColorMapData.ColorTableRGB. I''d just find a simple SWF file and go through all the tags, and all the properties of those, and so on until you find the color data.


这篇关于关于“使用SwfDotNet库的SWF反编译器"的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆