|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.concord.flash.player.FMovieBuilder
An implementation of the SWFTagTypes interface that builds a Movie object
Inner Class Summary | |
protected static class |
FMovieBuilder.ActionsBuilder
A SWFActions implementation that breaks multiple action arrays into separate Actions objects |
protected class |
FMovieBuilder.ButtonActionBuilder
|
protected class |
FMovieBuilder.ClipActionBuilder
|
protected class |
FMovieBuilder.GlyphBuilder
|
protected class |
FMovieBuilder.MorphShapeBuilder
|
protected class |
FMovieBuilder.ShapeBuilder
SWFShape implementation that builds a Shape |
protected class |
FMovieBuilder.TextBuilder
A SWFText implementation that builds a Text object |
Field Summary | |
protected com.anotherbigidea.flash.movie.MovieClip |
clip
|
protected com.anotherbigidea.flash.movie.Frame |
frame
|
protected java.util.Map |
instances
|
protected com.anotherbigidea.flash.movie.Movie |
movie
|
protected boolean |
newMovie
|
static java.util.Hashtable |
pendingsImages
|
protected java.util.Map |
symbols
|
protected com.anotherbigidea.flash.movie.TimeLine |
timeline
|
Constructor Summary | |
|
FMovieBuilder()
Build a new Movie |
protected |
FMovieBuilder(FMovieBuilder parent,
com.anotherbigidea.flash.movie.MovieClip clip)
Build the timeline of a MovieClip |
|
FMovieBuilder(com.anotherbigidea.flash.movie.Movie movie)
Append to an existing movie (do not change size,rate,color,version etc) |
Method Summary | |
protected com.anotherbigidea.flash.movie.Frame |
currentFrame()
|
void |
finishShapes()
|
java.util.Map |
getDefinedSymbols()
Get the defined symbols - keyed by Integer( symbolId ) |
protected com.anotherbigidea.flash.movie.Instance |
getInstance(int depth)
|
com.anotherbigidea.flash.movie.Movie |
getMovie()
|
protected com.anotherbigidea.flash.movie.Symbol |
getSymbol(int id)
|
void |
header(int version,
long length,
int twipsWidth,
int twipsHeight,
float frameRate,
int frameCount)
SWFHeader interface. |
protected void |
saveInstance(int depth,
com.anotherbigidea.flash.movie.Instance inst)
|
protected void |
saveSymbol(int id,
com.anotherbigidea.flash.movie.Symbol s)
|
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)
JPEG image data only - header/encoding data is in tagJPEGTables tag |
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)
JPEG image and encoding data with alpha channel bitmap |
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)
Define the sound for a button |
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 |
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)
|
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 |
void |
tagEnableDebug(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 |
tagFreeCharacter(int charId)
SWFTagTypes interface |
void |
tagGenerator(byte[] data)
In Generator templates. |
void |
tagGeneratorCommand(byte[] data)
In Generator templates. |
void |
tagGeneratorFont(byte[] data)
In Generator templates. |
void |
tagGeneratorText(byte[] data)
In Generator templates. |
void |
tagImport(java.lang.String movieName,
java.lang.String[] names,
int[] ids)
SWFTagTypes interface |
void |
tagJPEGTables(byte[] jpegEncodingData)
Only one tag per SWF - holds common JPEG encoding data |
void |
tagNameCharacter(byte[] data)
In Generator templates. |
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)
In files produced by Generator... |
void |
tagSetBackgroundColor(com.anotherbigidea.flash.structs.Color color)
SWFTagTypes interface |
void |
tagShowFrame()
SWFTagTypes interface |
void |
tagSoundStreamBlock(byte[] soundData)
|
void |
tagSoundStreamHead(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
Only allows ADPCM encoding. |
void |
tagSoundStreamHead2(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
Allows any encoding. |
void |
tagStartSound(int soundId,
com.anotherbigidea.flash.structs.SoundInfo info)
Start/stop playing a sound |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.anotherbigidea.flash.movie.Movie movie
protected com.anotherbigidea.flash.movie.MovieClip clip
protected boolean newMovie
protected com.anotherbigidea.flash.movie.Frame frame
protected java.util.Map symbols
protected com.anotherbigidea.flash.movie.TimeLine timeline
protected java.util.Map instances
public static java.util.Hashtable pendingsImages
Constructor Detail |
public FMovieBuilder()
public FMovieBuilder(com.anotherbigidea.flash.movie.Movie movie)
protected FMovieBuilder(FMovieBuilder parent, com.anotherbigidea.flash.movie.MovieClip clip)
Method Detail |
public void finishShapes()
public com.anotherbigidea.flash.movie.Movie getMovie()
public java.util.Map getDefinedSymbols()
protected com.anotherbigidea.flash.movie.Symbol getSymbol(int id)
protected void saveSymbol(int id, com.anotherbigidea.flash.movie.Symbol s)
protected com.anotherbigidea.flash.movie.Instance getInstance(int depth)
protected void saveInstance(int depth, com.anotherbigidea.flash.movie.Instance inst)
public void tag(int tagType, boolean longTag, byte[] contents) throws java.io.IOException
tag
in interface com.anotherbigidea.flash.interfaces.SWFTags
com.anotherbigidea.flash.interfaces.SWFTags
tagType
- a type of zero (TAG_END) denotes the end of the tagslongTag
- true if the tag header is forced into the long formcontents
- may be nullpublic void header(int version, long length, int twipsWidth, int twipsHeight, float frameRate, int frameCount) throws java.io.IOException
header
in interface com.anotherbigidea.flash.interfaces.SWFHeader
com.anotherbigidea.flash.interfaces.SWFHeader
length
- -1 if the length is unknown and must be inferredframeCount
- -1 if the framecount is unknown and must be inferredpublic void tagEnd() throws java.io.IOException
tagEnd
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
public void tagShowFrame() throws java.io.IOException
tagShowFrame
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
protected com.anotherbigidea.flash.movie.Frame currentFrame()
public void tagDefineSound(int id, int format, int frequency, boolean bits16, boolean stereo, int sampleCount, byte[] soundData) throws java.io.IOException
tagDefineSound
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
format
- one of the SWFConstants.SOUND_FORMAT_* constantsfrequency
- one of the SWFConstants.SOUND_FREQ_* constantssoundData
- format-dependent sound datapublic 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
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineButtonSound
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagStartSound(int soundId, com.anotherbigidea.flash.structs.SoundInfo info) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagStartSound
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
public void tagSoundStreamHead(int playbackFrequency, boolean playback16bit, boolean playbackStereo, int streamFormat, int streamFrequency, boolean stream16bit, boolean streamStereo, int averageSampleCount) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagSoundStreamHead
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
streamFormat
- must be SWFConstants.SOUND_FORMAT_ADPCMplaybackFrequency
- one of the SWFConstants.SOUND_FREQ_* constantsstreamFrequency
- one of the SWFConstants.SOUND_FREQ_* constantspublic void tagSoundStreamHead2(int playbackFrequency, boolean playback16bit, boolean playbackStereo, int streamFormat, int streamFrequency, boolean stream16bit, boolean streamStereo, int averageSampleCount) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagSoundStreamHead2
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
streamFormat
- one of the SWFConstants.SOUND_FORMAT_* constantsplaybackFrequency
- one of the SWFConstants.SOUND_FREQ_* constantsstreamFrequency
- one of the SWFConstants.SOUND_FREQ_* constantspublic void tagSoundStreamBlock(byte[] soundData) throws java.io.IOException
tagSoundStreamBlock
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
soundData
- format-dependent sound datapublic void tagSerialNumber(java.lang.String serialNumber) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagSerialNumber
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagGenerator(byte[] data) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagGenerator
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagGeneratorText(byte[] data) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagGeneratorText
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagGeneratorCommand(byte[] data) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagGeneratorCommand
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagGeneratorFont(byte[] data) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagGeneratorFont
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagNameCharacter(byte[] data) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagNameCharacter
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagDefineBitsJPEG3(int id, byte[] imageData, byte[] alphaData) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineBitsJPEG3
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
alphaData
- is zlib compressedpublic com.anotherbigidea.flash.interfaces.SWFActions tagDoAction() throws java.io.IOException
tagDoAction
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
public com.anotherbigidea.flash.interfaces.SWFShape tagDefineShape(int id, com.anotherbigidea.flash.structs.Rect outline) throws java.io.IOException
tagDefineShape
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
public com.anotherbigidea.flash.interfaces.SWFShape tagDefineShape2(int id, com.anotherbigidea.flash.structs.Rect outline) throws java.io.IOException
tagDefineShape2
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
public com.anotherbigidea.flash.interfaces.SWFShape tagDefineShape3(int id, com.anotherbigidea.flash.structs.Rect outline) throws java.io.IOException
tagDefineShape3
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagFreeCharacter(int charId) throws java.io.IOException
tagFreeCharacter
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
public void tagPlaceObject(int charId, int depth, com.anotherbigidea.flash.structs.Matrix matrix, com.anotherbigidea.flash.structs.AlphaTransform cxform) throws java.io.IOException
tagPlaceObject
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
cxform
- may be nullpublic 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
tagPlaceObject2
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
clipDepth
- < 1 if not relevantcharId
- < 1 if not relevantname
- of sprite instance - null if not relevantratio
- < 0 if not relevantmatrix
- null if not relevantcxform
- null if not relevantclipActionFlags
- == 0 if there are no clip actions - otherwise
this is the OR of the condition flags on all the clip action blockspublic void tagRemoveObject(int charId, int depth) throws java.io.IOException
tagRemoveObject
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
public void tagRemoveObject2(int depth) throws java.io.IOException
tagRemoveObject2
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
public void tagSetBackgroundColor(com.anotherbigidea.flash.structs.Color color) throws java.io.IOException
tagSetBackgroundColor
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagFrameLabel(java.lang.String label) throws java.io.IOException
tagFrameLabel
in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
public com.anotherbigidea.flash.interfaces.SWFTagTypes tagDefineSprite(int id) throws java.io.IOException
tagDefineSprite
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagProtect(byte[] password) throws java.io.IOException
tagProtect
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
password
- may be nullpublic void tagEnableDebug(byte[] password) throws java.io.IOException
tagEnableDebug
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public com.anotherbigidea.flash.interfaces.SWFVectors tagDefineFont(int id, int numGlyphs) throws java.io.IOException
tagDefineFont
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagDefineFontInfo(int fontId, java.lang.String fontName, int flags, int[] codes) throws java.io.IOException
tagDefineFontInfo
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
flags
- see FONT_* constants in SWFConstants.javapublic 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
tagDefineFont2
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
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
tagDefineTextField
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
flags
- see TEXTFIELD_* constants in SWFConstants.javapublic com.anotherbigidea.flash.interfaces.SWFText tagDefineText(int id, com.anotherbigidea.flash.structs.Rect bounds, com.anotherbigidea.flash.structs.Matrix matrix) throws java.io.IOException
tagDefineText
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
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
tagDefineText2
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
public com.anotherbigidea.flash.interfaces.SWFActions tagDefineButton(int id, java.util.Vector buttonRecords) throws java.io.IOException
tagDefineButton
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
buttonRecords
- contains ButtonRecord objectsButtonRecord
public void tagButtonCXForm(int buttonId, com.anotherbigidea.flash.structs.ColorTransform transform) throws java.io.IOException
tagButtonCXForm
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public com.anotherbigidea.flash.interfaces.SWFActions tagDefineButton2(int id, boolean trackAsMenu, java.util.Vector buttonRecord2s) throws java.io.IOException
tagDefineButton2
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
buttonRecord2s
- contains ButtonRecord2 objectsButtonRecord2
public void tagExport(java.lang.String[] names, int[] ids) throws java.io.IOException
tagExport
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagImport(java.lang.String movieName, java.lang.String[] names, int[] ids) throws java.io.IOException
tagImport
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagDefineQuickTimeMovie(int id, java.lang.String filename) throws java.io.IOException
tagDefineQuickTimeMovie
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagJPEGTables(byte[] jpegEncodingData) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagJPEGTables
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagDefineBits(int id, byte[] imageData) throws java.io.IOException
com.anotherbigidea.flash.interfaces.SWFTagTypes
tagDefineBits
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
public void tagDefineBitsJPEG2(int id, byte[] data) throws java.io.IOException
tagDefineBitsJPEG2
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
data
- must contain the header data - use the InputStream version
when using an external JPEGpublic void tagDefineBitsJPEG2(int id, java.io.InputStream jpegImage) throws java.io.IOException
tagDefineBitsJPEG2
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
jpegImage
- must be a baseline JPEG (not a progressive JPEG)public void tagDefineBitsLossless(int id, int format, int width, int height, com.anotherbigidea.flash.structs.Color[] colors, byte[] imageData) throws java.io.IOException
tagDefineBitsLossless
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
format
- one of the SWFConstants.BITMAP_FORMAT_n_BIT constantspublic void tagDefineBitsLossless2(int id, int format, int width, int height, com.anotherbigidea.flash.structs.Color[] colors, byte[] imageData) throws java.io.IOException
tagDefineBitsLossless2
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
com.anotherbigidea.flash.interfaces.SWFTagTypes
format
- one of the SWFConstants.BITMAP_FORMAT_n_BIT constantspublic com.anotherbigidea.flash.interfaces.SWFShape tagDefineMorphShape(int id, com.anotherbigidea.flash.structs.Rect startBounds, com.anotherbigidea.flash.structs.Rect endBounds) throws java.io.IOException
tagDefineMorphShape
in interface com.anotherbigidea.flash.interfaces.SWFTagTypes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |