Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.readers
Class MovieBuilder  view MovieBuilder download MovieBuilder.java

java.lang.Object
  extended bycom.anotherbigidea.flash.readers.MovieBuilder
All Implemented Interfaces:
com.anotherbigidea.flash.interfaces.SWFHeader, com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes, com.anotherbigidea.flash.interfaces.SWFTags, com.anotherbigidea.flash.interfaces.SWFTagTypes

public class MovieBuilder
extends java.lang.Object
implements com.anotherbigidea.flash.interfaces.SWFTagTypes

An implementation of the SWFTagTypes interface that builds a Movie object


Nested Class Summary
protected static class MovieBuilder.ActionsBuilder
          A SWFActions implementation that breaks multiple action arrays into separate Actions objects
protected  class MovieBuilder.ButtonActionBuilder
           
protected  class MovieBuilder.ClipActionBuilder
           
protected  class MovieBuilder.GlyphBuilder
           
protected  class MovieBuilder.MorphShapeBuilder
           
protected  class MovieBuilder.ShapeBuilder
          SWFShape implementation that builds a Shape
protected  class MovieBuilder.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
           
protected  java.util.Map symbols
           
protected  com.anotherbigidea.flash.movie.TimeLine timeline
           
 
Constructor Summary
  MovieBuilder()
          Build a new Movie
  MovieBuilder(com.anotherbigidea.flash.movie.Movie movie)
          Append to an existing movie (do not change size,rate,color,version etc)
protected MovieBuilder(MovieBuilder parent, com.anotherbigidea.flash.movie.MovieClip clip)
          Build the timeline of a MovieClip
 
Method Summary
protected  com.anotherbigidea.flash.movie.Frame currentFrame()
           
 void defineFontInfo(int fontId, java.lang.String fontName, int flags, int[] codes, int langCode)
          SWFTagTypes interface
 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, int 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
 void tagDefineFontInfo2(int fontId, java.lang.String fontName, int flags, int[] codes, int langCode)
          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
 com.anotherbigidea.flash.interfaces.SWFActions tagDoInitAction(int spriteId)
           
 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)
          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

movie

protected com.anotherbigidea.flash.movie.Movie movie

clip

protected com.anotherbigidea.flash.movie.MovieClip clip

newMovie

protected boolean newMovie

frame

protected com.anotherbigidea.flash.movie.Frame frame

symbols

protected java.util.Map symbols

timeline

protected com.anotherbigidea.flash.movie.TimeLine timeline

instances

protected java.util.Map instances
Constructor Detail

MovieBuilder

public MovieBuilder()
Build a new Movie


MovieBuilder

public MovieBuilder(com.anotherbigidea.flash.movie.Movie movie)
Append to an existing movie (do not change size,rate,color,version etc)


MovieBuilder

protected MovieBuilder(MovieBuilder parent,
                       com.anotherbigidea.flash.movie.MovieClip clip)
Build the timeline of a MovieClip

Method Detail

getMovie

public com.anotherbigidea.flash.movie.Movie getMovie()

getDefinedSymbols

public java.util.Map getDefinedSymbols()
Get the defined symbols - keyed by Integer( symbolId )


getSymbol

protected com.anotherbigidea.flash.movie.Symbol getSymbol(int id)

saveSymbol

protected void saveSymbol(int id,
                          com.anotherbigidea.flash.movie.Symbol s)

getInstance

protected com.anotherbigidea.flash.movie.Instance getInstance(int depth)

saveInstance

protected void saveInstance(int depth,
                            com.anotherbigidea.flash.movie.Instance inst)

tag

public void tag(int tagType,
                boolean longTag,
                byte[] contents)
         throws java.io.IOException
SWFTags interface

Specified by:
tag in interface com.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:
header in interface com.anotherbigidea.flash.interfaces.SWFHeader

tagEnd

public void tagEnd()
            throws java.io.IOException
SWFTagTypes interface

Specified by:
tagEnd in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagShowFrame

public void tagShowFrame()
                  throws java.io.IOException
SWFTagTypes interface

Specified by:
tagShowFrame in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

currentFrame

protected com.anotherbigidea.flash.movie.Frame currentFrame()

tagDefineSound

public void tagDefineSound(int id,
                           int format,
                           int frequency,
                           boolean bits16,
                           boolean stereo,
                           int sampleCount,
                           byte[] soundData)
                    throws java.io.IOException
Specified by:
tagDefineSound in interface com.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
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
Define the sound for a button

Specified by:
tagDefineButtonSound in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagStartSound

public void tagStartSound(int soundId,
                          com.anotherbigidea.flash.structs.SoundInfo info)
                   throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
Start/stop playing a sound

Specified by:
tagStartSound in interface com.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
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
Only allows ADPCM encoding.

Specified by:
tagSoundStreamHead in interface com.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
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
Allows any encoding.

Specified by:
tagSoundStreamHead2 in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagSoundStreamBlock

public void tagSoundStreamBlock(byte[] soundData)
                         throws java.io.IOException
Specified by:
tagSoundStreamBlock in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagSerialNumber

public void tagSerialNumber(java.lang.String serialNumber)
                     throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
In files produced by Generator...

Specified by:
tagSerialNumber in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagGenerator

public void tagGenerator(byte[] data)
                  throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
In Generator templates. Data is not parsed.

Specified by:
tagGenerator in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagGeneratorText

public void tagGeneratorText(byte[] data)
                      throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
In Generator templates. Data is not parsed.

Specified by:
tagGeneratorText in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagGeneratorCommand

public void tagGeneratorCommand(byte[] data)
                         throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
In Generator templates. Data is not parsed.

Specified by:
tagGeneratorCommand in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagGeneratorFont

public void tagGeneratorFont(byte[] data)
                      throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
In Generator templates. Data is not parsed.

Specified by:
tagGeneratorFont in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagNameCharacter

public void tagNameCharacter(byte[] data)
                      throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
In Generator templates. Data is not parsed.

Specified by:
tagNameCharacter in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagDefineBits

public void tagDefineBits(int id,
                          byte[] imageData)
                   throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
JPEG image data only - header/encoding data is in tagJPEGTables tag

Specified by:
tagDefineBits in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagJPEGTables

public void tagJPEGTables(byte[] jpegEncodingData)
                   throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
Only one tag per SWF - holds common JPEG encoding data

Specified by:
tagJPEGTables in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagDefineBitsJPEG3

public void tagDefineBitsJPEG3(int id,
                               byte[] imageData,
                               byte[] alphaData)
                        throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFTagTypes
JPEG image and encoding data with alpha channel bitmap

Specified by:
tagDefineBitsJPEG3 in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagDoInitAction

public com.anotherbigidea.flash.interfaces.SWFActions tagDoInitAction(int spriteId)
                                                               throws java.io.IOException
Specified by:
tagDoInitAction in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagDoAction

public com.anotherbigidea.flash.interfaces.SWFActions tagDoAction()
                                                           throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDoAction in interface com.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:
tagDefineShape in interface com.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:
tagDefineShape2 in interface com.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:
tagDefineShape3 in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagFreeCharacter

public void tagFreeCharacter(int charId)
                      throws java.io.IOException
SWFTagTypes interface

Specified by:
tagFreeCharacter in interface com.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:
tagPlaceObject in interface com.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:
tagPlaceObject2 in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagRemoveObject

public void tagRemoveObject(int charId,
                            int depth)
                     throws java.io.IOException
SWFTagTypes interface

Specified by:
tagRemoveObject in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagRemoveObject2

public void tagRemoveObject2(int depth)
                      throws java.io.IOException
SWFTagTypes interface

Specified by:
tagRemoveObject2 in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagSetBackgroundColor

public void tagSetBackgroundColor(com.anotherbigidea.flash.structs.Color color)
                           throws java.io.IOException
SWFTagTypes interface

Specified by:
tagSetBackgroundColor in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagFrameLabel

public void tagFrameLabel(java.lang.String label)
                   throws java.io.IOException
SWFTagTypes interface

Specified by:
tagFrameLabel in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagFrameLabel

public void tagFrameLabel(java.lang.String label,
                          boolean isAnchor)
                   throws java.io.IOException
SWFTagTypes interface

Specified by:
tagFrameLabel in interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes

tagDefineSprite

public com.anotherbigidea.flash.interfaces.SWFTagTypes tagDefineSprite(int id)
                                                                throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineSprite in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagProtect

public void tagProtect(byte[] password)
                throws java.io.IOException
SWFTagTypes interface

Specified by:
tagProtect in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagEnableDebug

public void tagEnableDebug(byte[] password)
                    throws java.io.IOException
SWFTagTypes interface

Specified by:
tagEnableDebug in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagEnableDebug2

public void tagEnableDebug2(byte[] password)
                     throws java.io.IOException
SWFTagTypes interface

Specified by:
tagEnableDebug2 in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagDefineFont

public com.anotherbigidea.flash.interfaces.SWFVectors tagDefineFont(int id,
                                                                    int numGlyphs)
                                                             throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineFont in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagDefineFontInfo

public void tagDefineFontInfo(int fontId,
                              java.lang.String fontName,
                              int flags,
                              int[] codes)
SWFTagTypes interface

Specified by:
tagDefineFontInfo in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

defineFontInfo

public void defineFontInfo(int fontId,
                           java.lang.String fontName,
                           int flags,
                           int[] codes,
                           int langCode)
SWFTagTypes interface


tagDefineFontInfo2

public void tagDefineFontInfo2(int fontId,
                               java.lang.String fontName,
                               int flags,
                               int[] codes,
                               int langCode)
SWFTagTypes interface

Specified by:
tagDefineFontInfo2 in interface com.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:
tagDefineFont2 in interface com.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:
tagDefineTextField in interface com.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:
tagDefineText in interface com.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:
tagDefineText2 in interface com.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:
tagDefineButton in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagButtonCXForm

public void tagButtonCXForm(int buttonId,
                            com.anotherbigidea.flash.structs.ColorTransform transform)
                     throws java.io.IOException
SWFTagTypes interface

Specified by:
tagButtonCXForm in interface com.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:
tagDefineButton2 in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagExport

public void tagExport(java.lang.String[] names,
                      int[] ids)
               throws java.io.IOException
SWFTagTypes interface

Specified by:
tagExport in interface com.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:
tagImport in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagDefineQuickTimeMovie

public void tagDefineQuickTimeMovie(int id,
                                    java.lang.String filename)
                             throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineQuickTimeMovie in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagDefineBitsJPEG2

public void tagDefineBitsJPEG2(int id,
                               byte[] data)
                        throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineBitsJPEG2 in interface com.anotherbigidea.flash.interfaces.SWFTagTypes

tagDefineBitsJPEG2

public void tagDefineBitsJPEG2(int id,
                               java.io.InputStream jpegImage)
                        throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineBitsJPEG2 in interface com.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:
tagDefineBitsLossless in interface com.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:
tagDefineBitsLossless2 in interface com.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:
tagDefineMorphShape in interface com.anotherbigidea.flash.interfaces.SWFTagTypes