|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SWFSpriteTagTypes
Interface for passing SWF tag types that can be used in a movie or a sprite
Method Summary | |
---|---|
SWFActions |
tagDoAction()
|
void |
tagEnd()
Description of the Method |
void |
tagFrameLabel(java.lang.String label)
Description of the Method |
void |
tagFreeCharacter(int charId)
Description of the Method |
void |
tagPlaceObject(int charId,
int depth,
Matrix matrix,
AlphaTransform cxform)
|
SWFActions |
tagPlaceObject2(boolean isMove,
int clipDepth,
int depth,
int charId,
Matrix matrix,
AlphaTransform cxform,
int ratio,
java.lang.String name,
int clipActionFlags)
|
void |
tagRemoveObject(int charId,
int depth)
Description of the Method |
void |
tagRemoveObject2(int depth)
Description of the Method |
void |
tagShowFrame()
Description of the Method |
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,
SoundInfo info)
Start/stop playing a sound |
Methods inherited from interface pt.tumba.parser.swf.SWFTags |
---|
tag |
Methods inherited from interface pt.tumba.parser.swf.SWFHeader |
---|
header |
Method Detail |
---|
void tagStartSound(int soundId, SoundInfo info) throws java.io.IOException
soundId
- Description of the Parameterinfo
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid tagSoundStreamHead(int playbackFrequency, boolean playback16bit, boolean playbackStereo, int streamFormat, int streamFrequency, boolean stream16bit, boolean streamStereo, int averageSampleCount) throws java.io.IOException
streamFormat
- must be SWFConstants.SOUND_FORMAT_ADPCMplaybackFrequency
- one of the SWFConstants.SOUND_FREQ_* constantsstreamFrequency
- one of the SWFConstants.SOUND_FREQ_* constantsplayback16bit
- Description of the ParameterplaybackStereo
- Description of the Parameterstream16bit
- Description of the ParameterstreamStereo
- Description of the ParameteraverageSampleCount
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid tagSoundStreamHead2(int playbackFrequency, boolean playback16bit, boolean playbackStereo, int streamFormat, int streamFrequency, boolean stream16bit, boolean streamStereo, int averageSampleCount) throws java.io.IOException
streamFormat
- one of the SWFConstants.SOUND_FORMAT_*
constantsplaybackFrequency
- one of the SWFConstants.SOUND_FREQ_* constantsstreamFrequency
- one of the SWFConstants.SOUND_FREQ_* constantsplayback16bit
- Description of the ParameterplaybackStereo
- Description of the Parameterstream16bit
- Description of the ParameterstreamStereo
- Description of the ParameteraverageSampleCount
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid tagSoundStreamBlock(byte[] soundData) throws java.io.IOException
soundData
- format-dependent sound data
java.io.IOException
- Description of the Exceptionvoid tagEnd() throws java.io.IOException
java.io.IOException
- Description of the Exceptionvoid tagShowFrame() throws java.io.IOException
java.io.IOException
- Description of the ExceptionSWFActions tagDoAction() throws java.io.IOException
java.io.IOException
- Description of the Exceptionvoid tagFreeCharacter(int charId) throws java.io.IOException
charId
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid tagPlaceObject(int charId, int depth, Matrix matrix, AlphaTransform cxform) throws java.io.IOException
cxform
- may be nullcharId
- Description of the Parameterdepth
- Description of the Parametermatrix
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid tagRemoveObject(int charId, int depth) throws java.io.IOException
charId
- Description of the Parameterdepth
- Description of the Parameter
java.io.IOException
- Description of the ExceptionSWFActions tagPlaceObject2(boolean isMove, int clipDepth, int depth, int charId, Matrix matrix, AlphaTransform cxform, int ratio, java.lang.String name, int clipActionFlags) throws java.io.IOException
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 blocksisMove
- Description of the Parameterdepth
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid tagRemoveObject2(int depth) throws java.io.IOException
depth
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid tagFrameLabel(java.lang.String label) throws java.io.IOException
label
- Description of the Parameter
java.io.IOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |