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

Quick Search    Search Deep

com.anotherbigidea.flash.interfaces
Interface SWFTagTypes  view SWFTagTypes download SWFTagTypes.java

All Superinterfaces:
SWFHeader, SWFSpriteTagTypes, SWFTags

public interface SWFTagTypes
extends SWFSpriteTagTypes

Interface for passing SWF tag types.


Method Summary
 void tagButtonCXForm(int buttonId, com.anotherbigidea.flash.structs.ColorTransform transform)
           
 void tagDefineBits(int id, byte[] imageData)
          JPEG image data only - header/encoding data is in tagJPEGTables tag
 void tagDefineBitsJPEG2(int id, byte[] data)
           
 void tagDefineBitsJPEG2(int id, java.io.InputStream jpegImage)
           
 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)
           
 void tagDefineBitsLossless2(int id, int format, int width, int height, com.anotherbigidea.flash.structs.Color[] colors, byte[] imageData)
           
 SWFActions tagDefineButton(int id, java.util.Vector buttonRecords)
           
 SWFActions tagDefineButton2(int id, boolean trackAsMenu, java.util.Vector buttonRecord2s)
           
 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
 SWFVectors tagDefineFont(int id, int numGlyphs)
          The SWFVectors object returned will be called numGlyphs times to pass the vector information for each glyph (each glyph is terminated by calling SWFVectors.done() )
 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)
           
 void tagDefineFontInfo(int fontId, java.lang.String fontName, int flags, int[] codes)
           
 void tagDefineFontInfo2(int fontId, java.lang.String fontName, int flags, int[] codes, int languageCode)
           
 SWFShape tagDefineMorphShape(int id, com.anotherbigidea.flash.structs.Rect startBounds, com.anotherbigidea.flash.structs.Rect endBounds)
           
 void tagDefineQuickTimeMovie(int id, java.lang.String filename)
           
 SWFShape tagDefineShape(int id, com.anotherbigidea.flash.structs.Rect outline)
           
 SWFShape tagDefineShape2(int id, com.anotherbigidea.flash.structs.Rect outline)
           
 SWFShape tagDefineShape3(int id, com.anotherbigidea.flash.structs.Rect outline)
           
 void tagDefineSound(int id, int format, int frequency, boolean bits16, boolean stereo, int sampleCount, byte[] soundData)
           
 SWFTagTypes tagDefineSprite(int id)
           
 SWFText tagDefineText(int id, com.anotherbigidea.flash.structs.Rect bounds, com.anotherbigidea.flash.structs.Matrix matrix)
           
 SWFText tagDefineText2(int id, com.anotherbigidea.flash.structs.Rect bounds, com.anotherbigidea.flash.structs.Matrix matrix)
          Allows alpha colors
 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)
           
 void tagEnableDebug(byte[] password)
           
 void tagEnableDebug2(byte[] password)
           
 void tagExport(java.lang.String[] names, int[] ids)
           
 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)
           
 void tagJPEGTables(byte[] jpegEncodingData)
          Only one tag per SWF - holds common JPEG encoding data
 void tagNameCharacter(byte[] data)
          In Generator templates.
 void tagProtect(byte[] password)
           
 void tagSerialNumber(java.lang.String serialNumber)
          In files produced by Generator...
 void tagSetBackgroundColor(com.anotherbigidea.flash.structs.Color color)
           
 
Methods inherited from interface com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes
tagDoAction, tagDoInitAction, tagEnd, tagFrameLabel, tagFrameLabel, tagFreeCharacter, tagPlaceObject, tagPlaceObject2, tagRemoveObject, tagRemoveObject2, tagShowFrame, tagSoundStreamBlock, tagSoundStreamHead, tagSoundStreamHead2, tagStartSound
 
Methods inherited from interface com.anotherbigidea.flash.interfaces.SWFTags
tag
 
Methods inherited from interface com.anotherbigidea.flash.interfaces.SWFHeader
header
 

Method Detail

tagDefineSound

public void tagDefineSound(int id,
                           int format,
                           int frequency,
                           boolean bits16,
                           boolean stereo,
                           int sampleCount,
                           byte[] soundData)
                    throws java.io.IOException

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
Define the sound for a button


tagDefineShape

public SWFShape tagDefineShape(int id,
                               com.anotherbigidea.flash.structs.Rect outline)
                        throws java.io.IOException

tagDefineShape2

public SWFShape tagDefineShape2(int id,
                                com.anotherbigidea.flash.structs.Rect outline)
                         throws java.io.IOException

tagDefineShape3

public SWFShape tagDefineShape3(int id,
                                com.anotherbigidea.flash.structs.Rect outline)
                         throws java.io.IOException

tagDefineButton

public SWFActions tagDefineButton(int id,
                                  java.util.Vector buttonRecords)
                           throws java.io.IOException

tagButtonCXForm

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

tagDefineButton2

public SWFActions tagDefineButton2(int id,
                                   boolean trackAsMenu,
                                   java.util.Vector buttonRecord2s)
                            throws java.io.IOException

tagSetBackgroundColor

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

tagDefineFont

public SWFVectors tagDefineFont(int id,
                                int numGlyphs)
                         throws java.io.IOException
The SWFVectors object returned will be called numGlyphs times to pass the vector information for each glyph (each glyph is terminated by calling SWFVectors.done() )


tagDefineText

public SWFText tagDefineText(int id,
                             com.anotherbigidea.flash.structs.Rect bounds,
                             com.anotherbigidea.flash.structs.Matrix matrix)
                      throws java.io.IOException

tagDefineText2

public SWFText tagDefineText2(int id,
                              com.anotherbigidea.flash.structs.Rect bounds,
                              com.anotherbigidea.flash.structs.Matrix matrix)
                       throws java.io.IOException
Allows alpha colors


tagDefineFontInfo

public void tagDefineFontInfo(int fontId,
                              java.lang.String fontName,
                              int flags,
                              int[] codes)
                       throws java.io.IOException

tagDefineFontInfo2

public void tagDefineFontInfo2(int fontId,
                               java.lang.String fontName,
                               int flags,
                               int[] codes,
                               int languageCode)
                        throws java.io.IOException

tagDefineBitsJPEG2

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

tagDefineBitsJPEG2

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

tagDefineBits

public void tagDefineBits(int id,
                          byte[] imageData)
                   throws java.io.IOException
JPEG image data only - header/encoding data is in tagJPEGTables tag


tagJPEGTables

public void tagJPEGTables(byte[] jpegEncodingData)
                   throws java.io.IOException
Only one tag per SWF - holds common JPEG encoding data


tagDefineBitsJPEG3

public void tagDefineBitsJPEG3(int id,
                               byte[] imageData,
                               byte[] alphaData)
                        throws java.io.IOException
JPEG image and encoding data with alpha channel bitmap


tagDefineBitsLossless

public void tagDefineBitsLossless(int id,
                                  int format,
                                  int width,
                                  int height,
                                  com.anotherbigidea.flash.structs.Color[] colors,
                                  byte[] imageData)
                           throws java.io.IOException

tagDefineBitsLossless2

public void tagDefineBitsLossless2(int id,
                                   int format,
                                   int width,
                                   int height,
                                   com.anotherbigidea.flash.structs.Color[] colors,
                                   byte[] imageData)
                            throws java.io.IOException

tagProtect

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

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

tagDefineQuickTimeMovie

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

tagDefineSprite

public SWFTagTypes tagDefineSprite(int id)
                            throws java.io.IOException

tagDefineMorphShape

public SWFShape tagDefineMorphShape(int id,
                                    com.anotherbigidea.flash.structs.Rect startBounds,
                                    com.anotherbigidea.flash.structs.Rect endBounds)
                             throws java.io.IOException

tagDefineFont2

public 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

tagExport

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

tagImport

public void tagImport(java.lang.String movieName,
                      java.lang.String[] names,
                      int[] ids)
               throws java.io.IOException

tagEnableDebug

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

tagEnableDebug2

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

tagSerialNumber

public void tagSerialNumber(java.lang.String serialNumber)
                     throws java.io.IOException
In files produced by Generator...


tagGenerator

public void tagGenerator(byte[] data)
                  throws java.io.IOException
In Generator templates. Data is not parsed.


tagGeneratorText

public void tagGeneratorText(byte[] data)
                      throws java.io.IOException
In Generator templates. Data is not parsed.


tagGeneratorCommand

public void tagGeneratorCommand(byte[] data)
                         throws java.io.IOException
In Generator templates. Data is not parsed.


tagNameCharacter

public void tagNameCharacter(byte[] data)
                      throws java.io.IOException
In Generator templates. Data is not parsed.


tagGeneratorFont

public void tagGeneratorFont(byte[] data)
                      throws java.io.IOException
In Generator templates. Data is not parsed.