Menu

[r11]: / trunk / SWFInvestigator / src / decompiler / swfdump / Header.as  Maximize  Restore  History

Download this file

41 lines (36 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2003-2006 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////
package decompiler.swfdump
{
import decompiler.tamarin.abcdump.Rect;
//NEEDED FOR SWF DISASSEMBLY
public class Header
{
//Overlaps with exist code. Kill?
public var compressed:Boolean;
public var version:int;
public var length:Number;
public var size:Rect;
public var rate:int;
public var framecount:int;
public function Header()
{
}
public static function useCompression(version:int):Boolean
{
/**
if ((System.getProperty("flex.swf.uncompressed") != null))
return false;
**/
return version >= 6;
}
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.