public final class MovieMetaData extends TagHandler
| Modifier and Type | Field and Description |
|---|---|
IntMap |
actions |
IntMap |
functionLines |
IntMap |
functionNames |
IntMap |
functionSizes |
IntMap |
modules |
Map<String,DebugModule> |
mxml |
IntMap |
preciseLines |
List<Integer> |
skipOffsets |
| Constructor and Description |
|---|
MovieMetaData(byte[] swf,
byte[] swd) |
MovieMetaData(InputStream swf,
InputStream swd) |
MovieMetaData(String u) |
| Modifier and Type | Method and Description |
|---|---|
void |
defineButton(DefineButton tag) |
void |
defineButton2(DefineButton tag) |
void |
defineSprite(DefineSprite tag) |
void |
doAction(DoAction tag) |
void |
doInitAction(DoInitAction tag) |
DebugModule |
getDebugModule(int offset) |
protected Integer |
getFunctionLineNumber(int offset) |
Iterator |
getFunctionLines() |
String |
getFunctionName(int offset) |
Integer |
getOpCode(int offset) |
void |
header(Header h) |
static String |
idRef(DefineTag tag,
Dictionary d) |
protected boolean |
isFunction(int offset) |
static boolean |
isRegisterClass(ActionList actionList) |
void |
placeObject2(PlaceObject tag) |
void |
placeObject3(PlaceObject tag) |
void |
setDecoderDictionary(Dictionary dict) |
static void |
walkActions(ActionList c,
int swfVersion,
String[] pool,
String className,
List<Integer> profileOffsets)
Walk the actions filling in the names of functions as we go.
|
any, csmTextSettings, debugID, defineBinaryData, defineBits, defineBitsJPEG2, defineBitsJPEG3, defineBitsLossless, defineBitsLossless2, defineButtonCxform, defineButtonSound, defineEditText, defineFont, defineFont2, defineFont3, defineFont4, defineFontAlignZones, defineFontInfo, defineFontInfo2, defineFontName, defineMorphShape, defineMorphShape2, defineScalingGrid, defineSceneAndFrameLabelData, defineShape, defineShape2, defineShape3, defineShape4, defineSound, defineText, defineText2, defineVideoStream, doABC, enableDebugger, enableDebugger2, enableTelemetry, error, exportAssets, fileAttributes, finish, frameLabel, importAssets, importAssets2, jpegTables, metadata, placeObject, productInfo, protect, removeObject, removeObject2, scriptLimits, setBackgroundColor, setOffsetAndSize, setTabIndex, showFrame, soundStreamBlock, soundStreamHead, soundStreamHead2, startSound, symbolClass, unknown, videoFramepublic IntMap actions
public IntMap modules
public IntMap functionNames
public IntMap functionSizes
public IntMap functionLines
public IntMap preciseLines
public Map<String,DebugModule> mxml
public MovieMetaData(byte[] swf,
byte[] swd)
public MovieMetaData(InputStream swf, InputStream swd)
public MovieMetaData(String u)
public DebugModule getDebugModule(int offset)
public String getFunctionName(int offset)
public Iterator getFunctionLines()
public Integer getOpCode(int offset)
protected Integer getFunctionLineNumber(int offset)
protected boolean isFunction(int offset)
public void setDecoderDictionary(Dictionary dict)
setDecoderDictionary in class TagHandlerpublic void header(Header h)
header in class TagHandlerpublic void defineButton(DefineButton tag)
defineButton in class TagHandlerpublic void doAction(DoAction tag)
doAction in class TagHandlerpublic void placeObject2(PlaceObject tag)
placeObject2 in class TagHandlerpublic void placeObject3(PlaceObject tag)
placeObject3 in class TagHandlerpublic void defineButton2(DefineButton tag)
defineButton2 in class TagHandlerpublic void defineSprite(DefineSprite tag)
defineSprite in class TagHandlerpublic void doInitAction(DoInitAction tag)
doInitAction in class TagHandlerpublic static final boolean isRegisterClass(ActionList actionList)
public static String idRef(DefineTag tag, Dictionary d)
public static void walkActions(ActionList c, int swfVersion, String[] pool, String className, List<Integer> profileOffsets)
c - list of actions to be traversedswfVersion - version of swf file that housed the ActionList (just use 7 if you don't know)pool - optional; constant pool for the list of actionsclassName - optional; used to locate a constructor function (i.e if funcName == className)profileOffsets - optional; is filled with offsets if a call to a
function named 'profile' is encountered. Can be null if caller is not
interested in obtaining this information.Copyright © 2018 The Apache Software Foundation. All rights reserved.