|
|||||||||
| Home >> All >> com >> anotherbigidea >> flash >> [ writers overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.anotherbigidea.flash.writers
Class SWFTagDumper

java.lang.Objectcom.anotherbigidea.flash.writers.SWFTagDumper
- All Implemented Interfaces:
- com.anotherbigidea.flash.interfaces.SWFFileSignature, com.anotherbigidea.flash.interfaces.SWFHeader, com.anotherbigidea.flash.interfaces.SWFShape, com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes, com.anotherbigidea.flash.interfaces.SWFTags, com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFText, com.anotherbigidea.flash.interfaces.SWFVectors
- public class SWFTagDumper
- extends java.lang.Object
- implements com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFShape, com.anotherbigidea.flash.interfaces.SWFText, com.anotherbigidea.flash.interfaces.SWFFileSignature
- extends java.lang.Object
An implementation of the SWFTagTypes interface that produces a debug dump
| Field Summary | |
protected java.lang.String |
dashes
|
protected boolean |
decompileActions
|
protected boolean |
dumpHex
|
protected java.lang.String |
indent
|
protected java.io.PrintWriter |
writer
|
| Fields inherited from interface com.anotherbigidea.flash.interfaces.SWFFileSignature |
SIGNATURE_COMPRESSED, SIGNATURE_NORMAL |
| Constructor Summary | |
SWFTagDumper(boolean dumpHex,
boolean decompileActions)
Dump to System.out |
|
SWFTagDumper(java.io.OutputStream out,
boolean dumpHex,
boolean decompileActions)
Dump to the given output stream |
|
SWFTagDumper(java.io.PrintWriter writer,
boolean dumpHex,
boolean decompileActions)
|
|
| Method Summary | |
void |
color(com.anotherbigidea.flash.structs.Color color)
SWFText interface |
void |
curve(int cx,
int cy,
int dx,
int dy)
SWFVectors interface |
void |
defineFillStyle(com.anotherbigidea.flash.structs.Color color)
SWFShape interface |
void |
defineFillStyle(int bitmapId,
com.anotherbigidea.flash.structs.Matrix matrix,
boolean clipped)
SWFShape interface |
void |
defineFillStyle(com.anotherbigidea.flash.structs.Matrix matrix,
int[] ratios,
com.anotherbigidea.flash.structs.Color[] colors,
boolean radial)
SWFShape interface |
void |
defineLineStyle(int width,
com.anotherbigidea.flash.structs.Color color)
SWFShape interface |
void |
done()
SWFVectors interface SWFText interface |
void |
dumpBitsLossless(java.lang.String name,
int id,
int format,
int width,
int height,
com.anotherbigidea.flash.structs.Color[] colors,
byte[] imageData)
|
void |
flush()
|
void |
font(int fontId,
int textHeight)
SWFText interface |
void |
header(int version,
long length,
int twipsWidth,
int twipsHeight,
int frameRate,
int frameCount)
SWFHeader interface. |
void |
line(int dx,
int dy)
SWFVectors interface |
static void |
main(java.lang.String[] args)
args[0] = name of SWF file to dump to System.out args[1] = if exists then dump-hex is true (dumps binary as hex - otherwise skips) args[2] = if exists then decompiles action codes |
void |
move(int x,
int y)
SWFVectors interface |
protected void |
println(java.lang.String line)
|
void |
printSoundStreamHead(java.lang.String name,
int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
|
void |
setFillStyle0(int styleIndex)
SWFShape interface |
void |
setFillStyle1(int styleIndex)
SWFShape interface |
void |
setLineStyle(int styleIndex)
SWFShape interface |
void |
setX(int x)
SWFText interface |
void |
setY(int y)
SWFText interface |
void |
signature(java.lang.String sig)
Pass the signature. |
void |
tag(int tagType,
boolean longTag,
byte[] contents)
SWFTags interface |
void |
tagButtonCXForm(int buttonId,
com.anotherbigidea.flash.structs.ColorTransform transform)
SWFTagTypes interface |
void |
tagDefineBits(int id,
byte[] imageData)
SWFTagTypes interface |
void |
tagDefineBitsJPEG2(int id,
byte[] data)
SWFTagTypes interface |
void |
tagDefineBitsJPEG2(int id,
java.io.InputStream jpegImage)
SWFTagTypes interface |
void |
tagDefineBitsJPEG3(int id,
byte[] imageData,
byte[] alphaData)
SWFTagTypes interface |
void |
tagDefineBitsLossless(int id,
int format,
int width,
int height,
com.anotherbigidea.flash.structs.Color[] colors,
byte[] imageData)
SWFTagTypes interface |
void |
tagDefineBitsLossless2(int id,
int format,
int width,
int height,
com.anotherbigidea.flash.structs.Color[] colors,
byte[] imageData)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFActions |
tagDefineButton(int id,
java.util.Vector buttonRecords)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFActions |
tagDefineButton2(int id,
boolean trackAsMenu,
java.util.Vector buttonRecord2s)
SWFTagTypes interface |
void |
tagDefineButtonSound(int buttonId,
int rollOverSoundId,
com.anotherbigidea.flash.structs.SoundInfo rollOverSoundInfo,
int rollOutSoundId,
com.anotherbigidea.flash.structs.SoundInfo rollOutSoundInfo,
int pressSoundId,
com.anotherbigidea.flash.structs.SoundInfo pressSoundInfo,
int releaseSoundId,
com.anotherbigidea.flash.structs.SoundInfo releaseSoundInfo)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFVectors |
tagDefineFont(int id,
int numGlyphs)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFVectors |
tagDefineFont2(int id,
int flags,
java.lang.String name,
int numGlyphs,
int ascent,
int descent,
int leading,
int[] codes,
int[] advances,
com.anotherbigidea.flash.structs.Rect[] bounds,
int[] kernCodes1,
int[] kernCodes2,
int[] kernAdjustments)
SWFTagTypes interface |
void |
tagDefineFontInfo(int fontId,
java.lang.String fontName,
int flags,
int[] codes)
SWFTagTypes interface |
void |
tagDefineFontInfo2(int fontId,
java.lang.String fontName,
int flags,
int[] codes,
int languageCode)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFShape |
tagDefineMorphShape(int id,
com.anotherbigidea.flash.structs.Rect startBounds,
com.anotherbigidea.flash.structs.Rect endBounds)
SWFTagTypes interface |
void |
tagDefineQuickTimeMovie(int id,
java.lang.String filename)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFShape |
tagDefineShape(int id,
com.anotherbigidea.flash.structs.Rect outline)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFShape |
tagDefineShape2(int id,
com.anotherbigidea.flash.structs.Rect outline)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFShape |
tagDefineShape3(int id,
com.anotherbigidea.flash.structs.Rect outline)
SWFTagTypes interface |
void |
tagDefineSound(int id,
int format,
int frequency,
boolean bits16,
boolean stereo,
int sampleCount,
byte[] soundData)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFTagTypes |
tagDefineSprite(int id)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFText |
tagDefineText(int id,
com.anotherbigidea.flash.structs.Rect bounds,
com.anotherbigidea.flash.structs.Matrix matrix)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFText |
tagDefineText2(int id,
com.anotherbigidea.flash.structs.Rect bounds,
com.anotherbigidea.flash.structs.Matrix matrix)
SWFTagTypes interface |
void |
tagDefineTextField(int fieldId,
java.lang.String fieldName,
java.lang.String initialText,
com.anotherbigidea.flash.structs.Rect boundary,
int flags,
com.anotherbigidea.flash.structs.AlphaColor textColor,
int alignment,
int fontId,
int fontSize,
int charLimit,
int leftMargin,
int rightMargin,
int indentation,
int lineSpacing)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFActions |
tagDoAction()
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFActions |
tagDoInitAction(int spriteId)
SWFTagTypes interface |
void |
tagEnableDebug(byte[] password)
SWFTagTypes interface |
void |
tagEnableDebug2(byte[] password)
SWFTagTypes interface |
void |
tagEnd()
SWFTagTypes interface |
void |
tagExport(java.lang.String[] names,
int[] ids)
SWFTagTypes interface |
void |
tagFrameLabel(java.lang.String label)
SWFTagTypes interface |
void |
tagFrameLabel(java.lang.String label,
boolean isAnchor)
SWFTagTypes interface |
void |
tagFreeCharacter(int charId)
SWFTagTypes interface |
void |
tagGenerator(byte[] data)
SWFTagTypes interface |
void |
tagGeneratorCommand(byte[] data)
SWFTagTypes interface |
void |
tagGeneratorFont(byte[] data)
SWFTagTypes interface |
void |
tagGeneratorText(byte[] data)
SWFTagTypes interface |
void |
tagImport(java.lang.String movieName,
java.lang.String[] names,
int[] ids)
SWFTagTypes interface |
void |
tagJPEGTables(byte[] jpegEncodingData)
SWFTagTypes interface |
void |
tagNameCharacter(byte[] data)
SWFTagTypes interface |
void |
tagPlaceObject(int charId,
int depth,
com.anotherbigidea.flash.structs.Matrix matrix,
com.anotherbigidea.flash.structs.AlphaTransform cxform)
SWFTagTypes interface |
com.anotherbigidea.flash.interfaces.SWFActions |
tagPlaceObject2(boolean isMove,
int clipDepth,
int depth,
int charId,
com.anotherbigidea.flash.structs.Matrix matrix,
com.anotherbigidea.flash.structs.AlphaTransform cxform,
int ratio,
java.lang.String name,
int clipActionFlags)
SWFTagTypes interface |
void |
tagProtect(byte[] password)
SWFTagTypes interface |
void |
tagRemoveObject(int charId,
int depth)
SWFTagTypes interface |
void |
tagRemoveObject2(int depth)
SWFTagTypes interface |
void |
tagSerialNumber(java.lang.String serialNumber)
SWFTagTypes interface |
void |
tagSetBackgroundColor(com.anotherbigidea.flash.structs.Color color)
SWFTagTypes interface |
void |
tagShowFrame()
SWFTagTypes interface |
void |
tagSoundStreamBlock(byte[] soundData)
SWFTagTypes interface |
void |
tagSoundStreamHead(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
SWFTagTypes interface |
void |
tagSoundStreamHead2(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
SWFTagTypes interface |
void |
tagStartSound(int soundId,
com.anotherbigidea.flash.structs.SoundInfo info)
SWFTagTypes interface |
void |
text(int[] glyphIndices,
int[] glyphAdvances)
SWFText interface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
writer
protected java.io.PrintWriter writer
dashes
protected java.lang.String dashes
dumpHex
protected boolean dumpHex
indent
protected java.lang.String indent
decompileActions
protected boolean decompileActions
| Constructor Detail |
SWFTagDumper
public SWFTagDumper(boolean dumpHex,
boolean decompileActions)
- Dump to System.out
SWFTagDumper
public SWFTagDumper(java.io.OutputStream out, boolean dumpHex, boolean decompileActions)
- Dump to the given output stream
SWFTagDumper
public SWFTagDumper(java.io.PrintWriter writer, boolean dumpHex, boolean decompileActions)
| Method Detail |
signature
public void signature(java.lang.String sig)
- Description copied from interface:
com.anotherbigidea.flash.interfaces.SWFFileSignature - Pass the signature. This method must be called before the header(..)
method in SWFHeader.
- Specified by:
signaturein interfacecom.anotherbigidea.flash.interfaces.SWFFileSignature
println
protected void println(java.lang.String line)
tag
public void tag(int tagType,
boolean longTag,
byte[] contents)
throws java.io.IOException
- SWFTags interface
- Specified by:
tagin interfacecom.anotherbigidea.flash.interfaces.SWFTags
header
public void header(int version,
long length,
int twipsWidth,
int twipsHeight,
int frameRate,
int frameCount)
throws java.io.IOException
- SWFHeader interface.
- Specified by:
headerin interfacecom.anotherbigidea.flash.interfaces.SWFHeader
tagEnd
public void tagEnd()
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagEndin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagStartSound
public void tagStartSound(int soundId,
com.anotherbigidea.flash.structs.SoundInfo info)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagStartSoundin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagSoundStreamHead
public void tagSoundStreamHead(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagSoundStreamHeadin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagSoundStreamHead2
public void tagSoundStreamHead2(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagSoundStreamHead2in interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
printSoundStreamHead
public void printSoundStreamHead(java.lang.String name, int playbackFrequency, boolean playback16bit, boolean playbackStereo, int streamFormat, int streamFrequency, boolean stream16bit, boolean streamStereo, int averageSampleCount) throws java.io.IOException
tagSoundStreamBlock
public void tagSoundStreamBlock(byte[] soundData)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagSoundStreamBlockin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagSerialNumber
public void tagSerialNumber(java.lang.String serialNumber) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagSerialNumberin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagGenerator
public void tagGenerator(byte[] data)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagGeneratorin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagGeneratorText
public void tagGeneratorText(byte[] data)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagGeneratorTextin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagGeneratorFont
public void tagGeneratorFont(byte[] data)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagGeneratorFontin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagGeneratorCommand
public void tagGeneratorCommand(byte[] data)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagGeneratorCommandin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagNameCharacter
public void tagNameCharacter(byte[] data)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagNameCharacterin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineBits
public void tagDefineBits(int id,
byte[] imageData)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineBitsin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagJPEGTables
public void tagJPEGTables(byte[] jpegEncodingData)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagJPEGTablesin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineBitsJPEG3
public void tagDefineBitsJPEG3(int id,
byte[] imageData,
byte[] alphaData)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineBitsJPEG3in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineSound
public void tagDefineSound(int id,
int format,
int frequency,
boolean bits16,
boolean stereo,
int sampleCount,
byte[] soundData)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineSoundin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineButtonSound
public void tagDefineButtonSound(int buttonId,
int rollOverSoundId,
com.anotherbigidea.flash.structs.SoundInfo rollOverSoundInfo,
int rollOutSoundId,
com.anotherbigidea.flash.structs.SoundInfo rollOutSoundInfo,
int pressSoundId,
com.anotherbigidea.flash.structs.SoundInfo pressSoundInfo,
int releaseSoundId,
com.anotherbigidea.flash.structs.SoundInfo releaseSoundInfo)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineButtonSoundin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagShowFrame
public void tagShowFrame()
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagShowFramein interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagDoAction
public com.anotherbigidea.flash.interfaces.SWFActions tagDoAction() throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDoActionin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagDoInitAction
public com.anotherbigidea.flash.interfaces.SWFActions tagDoInitAction(int spriteId) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDoInitActionin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagDefineShape
public com.anotherbigidea.flash.interfaces.SWFShape tagDefineShape(int id, com.anotherbigidea.flash.structs.Rect outline) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineShapein interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineShape2
public com.anotherbigidea.flash.interfaces.SWFShape tagDefineShape2(int id, com.anotherbigidea.flash.structs.Rect outline) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineShape2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineShape3
public com.anotherbigidea.flash.interfaces.SWFShape tagDefineShape3(int id, com.anotherbigidea.flash.structs.Rect outline) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineShape3in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagFreeCharacter
public void tagFreeCharacter(int charId)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagFreeCharacterin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagPlaceObject
public void tagPlaceObject(int charId,
int depth,
com.anotherbigidea.flash.structs.Matrix matrix,
com.anotherbigidea.flash.structs.AlphaTransform cxform)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagPlaceObjectin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagPlaceObject2
public com.anotherbigidea.flash.interfaces.SWFActions tagPlaceObject2(boolean isMove, int clipDepth, int depth, int charId, com.anotherbigidea.flash.structs.Matrix matrix, com.anotherbigidea.flash.structs.AlphaTransform cxform, int ratio, java.lang.String name, int clipActionFlags) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagPlaceObject2in interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagRemoveObject
public void tagRemoveObject(int charId,
int depth)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagRemoveObjectin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagRemoveObject2
public void tagRemoveObject2(int depth)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagRemoveObject2in interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagSetBackgroundColor
public void tagSetBackgroundColor(com.anotherbigidea.flash.structs.Color color) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagSetBackgroundColorin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagFrameLabel
public void tagFrameLabel(java.lang.String label) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagFrameLabelin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagFrameLabel
public void tagFrameLabel(java.lang.String label, boolean isAnchor) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagFrameLabelin interfacecom.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagDefineSprite
public com.anotherbigidea.flash.interfaces.SWFTagTypes tagDefineSprite(int id) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineSpritein interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagProtect
public void tagProtect(byte[] password)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagProtectin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagEnableDebug
public void tagEnableDebug(byte[] password)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagEnableDebugin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagEnableDebug2
public void tagEnableDebug2(byte[] password)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagEnableDebug2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineFont
public com.anotherbigidea.flash.interfaces.SWFVectors tagDefineFont(int id, int numGlyphs) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineFontin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineFontInfo
public void tagDefineFontInfo(int fontId,
java.lang.String fontName,
int flags,
int[] codes)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineFontInfoin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineFontInfo2
public void tagDefineFontInfo2(int fontId,
java.lang.String fontName,
int flags,
int[] codes,
int languageCode)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineFontInfo2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineFont2
public com.anotherbigidea.flash.interfaces.SWFVectors tagDefineFont2(int id, int flags, java.lang.String name, int numGlyphs, int ascent, int descent, int leading, int[] codes, int[] advances, com.anotherbigidea.flash.structs.Rect[] bounds, int[] kernCodes1, int[] kernCodes2, int[] kernAdjustments) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineFont2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineTextField
public void tagDefineTextField(int fieldId,
java.lang.String fieldName,
java.lang.String initialText,
com.anotherbigidea.flash.structs.Rect boundary,
int flags,
com.anotherbigidea.flash.structs.AlphaColor textColor,
int alignment,
int fontId,
int fontSize,
int charLimit,
int leftMargin,
int rightMargin,
int indentation,
int lineSpacing)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineTextFieldin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineText
public com.anotherbigidea.flash.interfaces.SWFText tagDefineText(int id, com.anotherbigidea.flash.structs.Rect bounds, com.anotherbigidea.flash.structs.Matrix matrix) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineTextin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineText2
public com.anotherbigidea.flash.interfaces.SWFText tagDefineText2(int id, com.anotherbigidea.flash.structs.Rect bounds, com.anotherbigidea.flash.structs.Matrix matrix) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineText2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineButton
public com.anotherbigidea.flash.interfaces.SWFActions tagDefineButton(int id, java.util.Vector buttonRecords) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineButtonin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagButtonCXForm
public void tagButtonCXForm(int buttonId,
com.anotherbigidea.flash.structs.ColorTransform transform)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagButtonCXFormin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineButton2
public com.anotherbigidea.flash.interfaces.SWFActions tagDefineButton2(int id, boolean trackAsMenu, java.util.Vector buttonRecord2s) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineButton2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagExport
public void tagExport(java.lang.String[] names, int[] ids) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagExportin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagImport
public void tagImport(java.lang.String movieName, java.lang.String[] names, int[] ids) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagImportin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineQuickTimeMovie
public void tagDefineQuickTimeMovie(int id,
java.lang.String filename)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineQuickTimeMoviein interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineBitsJPEG2
public void tagDefineBitsJPEG2(int id,
byte[] data)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineBitsJPEG2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineBitsJPEG2
public void tagDefineBitsJPEG2(int id,
java.io.InputStream jpegImage)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineBitsJPEG2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineMorphShape
public com.anotherbigidea.flash.interfaces.SWFShape tagDefineMorphShape(int id, com.anotherbigidea.flash.structs.Rect startBounds, com.anotherbigidea.flash.structs.Rect endBounds) throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineMorphShapein interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineBitsLossless
public void tagDefineBitsLossless(int id,
int format,
int width,
int height,
com.anotherbigidea.flash.structs.Color[] colors,
byte[] imageData)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineBitsLosslessin interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineBitsLossless2
public void tagDefineBitsLossless2(int id,
int format,
int width,
int height,
com.anotherbigidea.flash.structs.Color[] colors,
byte[] imageData)
throws java.io.IOException
- SWFTagTypes interface
- Specified by:
tagDefineBitsLossless2in interfacecom.anotherbigidea.flash.interfaces.SWFTagTypes
dumpBitsLossless
public void dumpBitsLossless(java.lang.String name, int id, int format, int width, int height, com.anotherbigidea.flash.structs.Color[] colors, byte[] imageData) throws java.io.IOException
done
public void done()
throws java.io.IOException
- SWFVectors interface
SWFText interface
- Specified by:
donein interfacecom.anotherbigidea.flash.interfaces.SWFVectors
line
public void line(int dx,
int dy)
throws java.io.IOException
- SWFVectors interface
- Specified by:
linein interfacecom.anotherbigidea.flash.interfaces.SWFVectors
curve
public void curve(int cx,
int cy,
int dx,
int dy)
throws java.io.IOException
- SWFVectors interface
- Specified by:
curvein interfacecom.anotherbigidea.flash.interfaces.SWFVectors
move
public void move(int x,
int y)
throws java.io.IOException
- SWFVectors interface
- Specified by:
movein interfacecom.anotherbigidea.flash.interfaces.SWFVectors
setFillStyle0
public void setFillStyle0(int styleIndex)
throws java.io.IOException
- SWFShape interface
- Specified by:
setFillStyle0in interfacecom.anotherbigidea.flash.interfaces.SWFShape
setFillStyle1
public void setFillStyle1(int styleIndex)
throws java.io.IOException
- SWFShape interface
- Specified by:
setFillStyle1in interfacecom.anotherbigidea.flash.interfaces.SWFShape
setLineStyle
public void setLineStyle(int styleIndex)
throws java.io.IOException
- SWFShape interface
- Specified by:
setLineStylein interfacecom.anotherbigidea.flash.interfaces.SWFShape
defineFillStyle
public void defineFillStyle(com.anotherbigidea.flash.structs.Color color) throws java.io.IOException
- SWFShape interface
- Specified by:
defineFillStylein interfacecom.anotherbigidea.flash.interfaces.SWFShape
defineFillStyle
public void defineFillStyle(com.anotherbigidea.flash.structs.Matrix matrix, int[] ratios, com.anotherbigidea.flash.structs.Color[] colors, boolean radial) throws java.io.IOException
- SWFShape interface
- Specified by:
defineFillStylein interfacecom.anotherbigidea.flash.interfaces.SWFShape
defineFillStyle
public void defineFillStyle(int bitmapId,
com.anotherbigidea.flash.structs.Matrix matrix,
boolean clipped)
throws java.io.IOException
- SWFShape interface
- Specified by:
defineFillStylein interfacecom.anotherbigidea.flash.interfaces.SWFShape
defineLineStyle
public void defineLineStyle(int width,
com.anotherbigidea.flash.structs.Color color)
throws java.io.IOException
- SWFShape interface
- Specified by:
defineLineStylein interfacecom.anotherbigidea.flash.interfaces.SWFShape
font
public void font(int fontId,
int textHeight)
throws java.io.IOException
- SWFText interface
- Specified by:
fontin interfacecom.anotherbigidea.flash.interfaces.SWFText
color
public void color(com.anotherbigidea.flash.structs.Color color) throws java.io.IOException
- SWFText interface
- Specified by:
colorin interfacecom.anotherbigidea.flash.interfaces.SWFText
setX
public void setX(int x)
throws java.io.IOException
- SWFText interface
- Specified by:
setXin interfacecom.anotherbigidea.flash.interfaces.SWFText
setY
public void setY(int y)
throws java.io.IOException
- SWFText interface
- Specified by:
setYin interfacecom.anotherbigidea.flash.interfaces.SWFText
text
public void text(int[] glyphIndices,
int[] glyphAdvances)
throws java.io.IOException
- SWFText interface
- Specified by:
textin interfacecom.anotherbigidea.flash.interfaces.SWFText
flush
public void flush()
throws java.io.IOException
main
public static void main(java.lang.String[] args) throws java.io.IOException
- args[0] = name of SWF file to dump to System.out
args[1] = if exists then dump-hex is true (dumps binary as hex - otherwise skips)
args[2] = if exists then decompiles action codes
|
|||||||||
| Home >> All >> com >> anotherbigidea >> flash >> [ writers overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.anotherbigidea.flash.writers.SWFTagDumper