|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.flagstone.transform.FSTransformObject
com.flagstone.transform.FSActionObject
public abstract class FSActionObject
The FSActionObject is a base class for the classes that represent the different types of actions defined in the Flash file format specification. The function of the class is the same as the FSMovieObject class however the format of the encoded binary data is different. This class is primarily used internally in the library however the getType() method is useful when manipulating decoded Flash files. Rather than use run-time type inspection provided by the programming environment the method can be used to identify the action that a given object represents. The getType() method is essential when examining FSAction objects which represent a large number byte-codes which perform stack-based operations such as add, subtract, etc.
| Field Summary | |
|---|---|
static int |
Call
|
static int |
ExceptionHandler
|
static int |
GetUrl
Type identifying a GetUrl action. |
static int |
GetUrl2
|
static int |
GotoFrame
Type identifying a GotoFrame action. |
static int |
GotoFrame2
|
static int |
GotoLabel
|
static int |
If
|
static int |
Jump
|
protected int |
length
|
static int |
NewFunction
|
static int |
NewFunction2
|
static int |
Push
|
static int |
RegisterCopy
|
static int |
SetTarget
|
static int |
Table
|
protected int |
type
|
static int |
WaitForFrame
|
static int |
WaitForFrame2
|
static int |
With
|
| Constructor Summary | |
|---|---|
protected |
FSActionObject(FSActionObject obj)
|
protected |
FSActionObject(int aType)
|
| Method Summary | |
|---|---|
void |
decode(FSCoder coder)
|
void |
encode(FSCoder coder)
|
boolean |
equals(java.lang.Object anObject)
Returns true if anObject is equal to this one. |
int |
getType()
Gets the code used that identifies the type of the action when it is encoded. |
int |
length()
Length is used to calculate the then of the action when it is encoded to the binary Flash file format. |
int |
length(FSCoder coder)
|
| Methods inherited from class com.flagstone.transform.FSTransformObject |
|---|
appendDescription, clone, name, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int GotoFrame
public static final int GetUrl
public static final int WaitForFrame
public static final int SetTarget
public static final int GotoLabel
public static final int WaitForFrame2
public static final int Push
public static final int Jump
public static final int GetUrl2
public static final int If
public static final int Call
public static final int GotoFrame2
public static final int RegisterCopy
public static final int Table
public static final int With
public static final int NewFunction
public static final int NewFunction2
public static final int ExceptionHandler
protected int type
protected int length
| Constructor Detail |
|---|
protected FSActionObject(int aType)
protected FSActionObject(FSActionObject obj)
| Method Detail |
|---|
public int getType()
public int length()
public boolean equals(java.lang.Object anObject)
equals in class FSTransformObjectpublic int length(FSCoder coder)
length in class FSTransformObjectpublic void encode(FSCoder coder)
encode in class FSTransformObjectpublic void decode(FSCoder coder)
decode in class FSTransformObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||