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

Quick Search    Search Deep

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


public interface SWFActions

Interface for passing Action Codes Lifecycle is - 1. start(..) is called with any condition flags (e.g. event codes) for the action array 2. action methods are called 3. end() is called to terminate array 4. 1..3 is repeated for any subsequent condition blocks 5. done() is called to terminate all action passing


Field Summary
static int GET_URL_MODE_LOAD_MOVIE_INTO_LEVEL
           
static int GET_URL_MODE_LOAD_MOVIE_INTO_SPRITE
           
static int GET_URL_MODE_LOAD_VARS_INTO_LEVEL
           
static int GET_URL_MODE_LOAD_VARS_INTO_SPRITE
           
static int GET_URL_SEND_VARS_GET
           
static int GET_URL_SEND_VARS_NONE
           
static int GET_URL_SEND_VARS_POST
           
 
Method Summary
 void add()
           
 void and()
           
 void asciiToChar()
           
 void asciiToCharMB()
           
 void bitAnd()
           
 void bitOr()
           
 void bitXor()
           
 void blob(byte[] blob)
          Pass through a blob of actions
 void call()
           
 void callFunction()
           
 void callMethod()
           
 void charMBToAscii()
           
 void charToAscii()
           
 void cloneSprite()
           
 void comment(java.lang.String comment)
          Comment Text - useful for debugging purposes
 void concat()
           
 void convertToNumber()
           
 void convertToString()
           
 void decrement()
           
 void defineLocal()
           
 void defineLocalValue()
           
 void deleteProperty()
           
 void deleteThreadVars()
           
 void divide()
           
 void done()
          End of all action blocks
 void duplicate()
           
 void end()
          End of actions
 void endBlock()
           
 void endDrag()
           
 void enumerate()
           
 void enumerateObject()
           
 void equals()
           
 void getMember()
           
 void getProperty()
           
 void getTargetPath()
           
 void getTime()
           
 void getURL(int sendVars, int loadMode)
           
 void getURL(java.lang.String url, java.lang.String target)
           
 void getVariable()
           
 void gotoFrame(boolean play)
           
 void gotoFrame(int frameNumber)
           
 void gotoFrame(java.lang.String label)
           
 void greaterThan()
           
 void ifJump(java.lang.String jumpLabel)
           
 void increment()
           
 void initArray()
           
 void initObject()
           
 void instanceOf()
           
 void jump(java.lang.String jumpLabel)
           
 void jumpLabel(java.lang.String label)
          Target label for a jump - this method call immediately precedes the target action.
 void lessThan()
           
 void lookup(int dictionaryIndex)
           
 void lookupTable(java.lang.String[] values)
           
 void modulo()
           
 void multiply()
           
 void newMethod()
           
 void newObject()
           
 void nextFrame()
           
 void not()
           
 void or()
           
 void play()
           
 void pop()
           
 void prevFrame()
           
 void push(boolean value)
           
 void push(double value)
           
 void push(float value)
           
 void push(int value)
           
 void push(java.lang.String value)
           
 void pushNull()
           
 void pushRegister(int registerNumber)
           
 void randomNumber()
           
 void removeSprite()
           
 void returnValue()
           
 void setMember()
           
 void setProperty()
           
 void setTarget()
           
 void setTarget(java.lang.String target)
           
 void setVariable()
           
 void shiftLeft()
           
 void shiftRight()
           
 void shiftRightUnsigned()
           
 void start(int flags)
          Start of actions
 void startDrag()
           
 void startFunction(java.lang.String name, java.lang.String[] paramNames)
           
 void startWith()
           
 void stop()
           
 void stopSounds()
           
 void storeInRegister(int registerNumber)
           
 void strictEquals()
           
 void stringEquals()
           
 void stringGreaterThan()
           
 void stringLength()
           
 void stringLengthMB()
           
 void stringLessThan()
           
 void substract()
           
 void substring()
           
 void substringMB()
           
 void swap()
           
 void toggleQuality()
           
 void toInteger()
           
 void trace()
           
 void typedAdd()
           
 void typedEquals()
           
 void typedLessThan()
           
 void typeOf()
           
 void unknown(int code, byte[] data)
          Unrecognized action code
 void waitForFrame(int frameNumber, java.lang.String jumpLabel)
           
 void waitForFrame(java.lang.String jumpLabel)
           
 

Field Detail

GET_URL_SEND_VARS_NONE

public static final int GET_URL_SEND_VARS_NONE
See Also:
Constant Field Values

GET_URL_SEND_VARS_GET

public static final int GET_URL_SEND_VARS_GET
See Also:
Constant Field Values

GET_URL_SEND_VARS_POST

public static final int GET_URL_SEND_VARS_POST
See Also:
Constant Field Values

GET_URL_MODE_LOAD_MOVIE_INTO_LEVEL

public static final int GET_URL_MODE_LOAD_MOVIE_INTO_LEVEL
See Also:
Constant Field Values

GET_URL_MODE_LOAD_MOVIE_INTO_SPRITE

public static final int GET_URL_MODE_LOAD_MOVIE_INTO_SPRITE
See Also:
Constant Field Values

GET_URL_MODE_LOAD_VARS_INTO_LEVEL

public static final int GET_URL_MODE_LOAD_VARS_INTO_LEVEL
See Also:
Constant Field Values

GET_URL_MODE_LOAD_VARS_INTO_SPRITE

public static final int GET_URL_MODE_LOAD_VARS_INTO_SPRITE
See Also:
Constant Field Values
Method Detail

start

public void start(int flags)
           throws java.io.IOException
Start of actions


done

public void done()
          throws java.io.IOException
End of all action blocks


end

public void end()
         throws java.io.IOException
End of actions


blob

public void blob(byte[] blob)
          throws java.io.IOException
Pass through a blob of actions


unknown

public void unknown(int code,
                    byte[] data)
             throws java.io.IOException
Unrecognized action code


jumpLabel

public void jumpLabel(java.lang.String label)
               throws java.io.IOException
Target label for a jump - this method call immediately precedes the target action.


comment

public void comment(java.lang.String comment)
             throws java.io.IOException
Comment Text - useful for debugging purposes


gotoFrame

public void gotoFrame(int frameNumber)
               throws java.io.IOException

gotoFrame

public void gotoFrame(java.lang.String label)
               throws java.io.IOException

getURL

public void getURL(java.lang.String url,
                   java.lang.String target)
            throws java.io.IOException

nextFrame

public void nextFrame()
               throws java.io.IOException

prevFrame

public void prevFrame()
               throws java.io.IOException

play

public void play()
          throws java.io.IOException

stop

public void stop()
          throws java.io.IOException

toggleQuality

public void toggleQuality()
                   throws java.io.IOException

stopSounds

public void stopSounds()
                throws java.io.IOException

waitForFrame

public void waitForFrame(int frameNumber,
                         java.lang.String jumpLabel)
                  throws java.io.IOException

setTarget

public void setTarget(java.lang.String target)
               throws java.io.IOException

push

public void push(java.lang.String value)
          throws java.io.IOException

push

public void push(float value)
          throws java.io.IOException

pop

public void pop()
         throws java.io.IOException

add

public void add()
         throws java.io.IOException

substract

public void substract()
               throws java.io.IOException

multiply

public void multiply()
              throws java.io.IOException

divide

public void divide()
            throws java.io.IOException

equals

public void equals()
            throws java.io.IOException

lessThan

public void lessThan()
              throws java.io.IOException

and

public void and()
         throws java.io.IOException

or

public void or()
        throws java.io.IOException

not

public void not()
         throws java.io.IOException

stringEquals

public void stringEquals()
                  throws java.io.IOException

stringLength

public void stringLength()
                  throws java.io.IOException

concat

public void concat()
            throws java.io.IOException

substring

public void substring()
               throws java.io.IOException

stringLessThan

public void stringLessThan()
                    throws java.io.IOException

stringLengthMB

public void stringLengthMB()
                    throws java.io.IOException

substringMB

public void substringMB()
                 throws java.io.IOException

toInteger

public void toInteger()
               throws java.io.IOException

charToAscii

public void charToAscii()
                 throws java.io.IOException

asciiToChar

public void asciiToChar()
                 throws java.io.IOException

charMBToAscii

public void charMBToAscii()
                   throws java.io.IOException

asciiToCharMB

public void asciiToCharMB()
                   throws java.io.IOException

jump

public void jump(java.lang.String jumpLabel)
          throws java.io.IOException

ifJump

public void ifJump(java.lang.String jumpLabel)
            throws java.io.IOException

call

public void call()
          throws java.io.IOException

getVariable

public void getVariable()
                 throws java.io.IOException

setVariable

public void setVariable()
                 throws java.io.IOException

getURL

public void getURL(int sendVars,
                   int loadMode)
            throws java.io.IOException

gotoFrame

public void gotoFrame(boolean play)
               throws java.io.IOException

setTarget

public void setTarget()
               throws java.io.IOException

getProperty

public void getProperty()
                 throws java.io.IOException

setProperty

public void setProperty()
                 throws java.io.IOException

cloneSprite

public void cloneSprite()
                 throws java.io.IOException

removeSprite

public void removeSprite()
                  throws java.io.IOException

startDrag

public void startDrag()
               throws java.io.IOException

endDrag

public void endDrag()
             throws java.io.IOException

waitForFrame

public void waitForFrame(java.lang.String jumpLabel)
                  throws java.io.IOException

trace

public void trace()
           throws java.io.IOException

getTime

public void getTime()
             throws java.io.IOException

randomNumber

public void randomNumber()
                  throws java.io.IOException

callFunction

public void callFunction()
                  throws java.io.IOException

callMethod

public void callMethod()
                throws java.io.IOException

lookupTable

public void lookupTable(java.lang.String[] values)
                 throws java.io.IOException

startFunction

public void startFunction(java.lang.String name,
                          java.lang.String[] paramNames)
                   throws java.io.IOException

endBlock

public void endBlock()
              throws java.io.IOException

defineLocalValue

public void defineLocalValue()
                      throws java.io.IOException

defineLocal

public void defineLocal()
                 throws java.io.IOException

deleteProperty

public void deleteProperty()
                    throws java.io.IOException

deleteThreadVars

public void deleteThreadVars()
                      throws java.io.IOException

enumerate

public void enumerate()
               throws java.io.IOException

typedEquals

public void typedEquals()
                 throws java.io.IOException

getMember

public void getMember()
               throws java.io.IOException

initArray

public void initArray()
               throws java.io.IOException

initObject

public void initObject()
                throws java.io.IOException

newMethod

public void newMethod()
               throws java.io.IOException

newObject

public void newObject()
               throws java.io.IOException

setMember

public void setMember()
               throws java.io.IOException

getTargetPath

public void getTargetPath()
                   throws java.io.IOException

startWith

public void startWith()
               throws java.io.IOException

convertToNumber

public void convertToNumber()
                     throws java.io.IOException

convertToString

public void convertToString()
                     throws java.io.IOException

typeOf

public void typeOf()
            throws java.io.IOException

typedAdd

public void typedAdd()
              throws java.io.IOException

typedLessThan

public void typedLessThan()
                   throws java.io.IOException

modulo

public void modulo()
            throws java.io.IOException

bitAnd

public void bitAnd()
            throws java.io.IOException

bitOr

public void bitOr()
           throws java.io.IOException

bitXor

public void bitXor()
            throws java.io.IOException

shiftLeft

public void shiftLeft()
               throws java.io.IOException

shiftRight

public void shiftRight()
                throws java.io.IOException

shiftRightUnsigned

public void shiftRightUnsigned()
                        throws java.io.IOException

decrement

public void decrement()
               throws java.io.IOException

increment

public void increment()
               throws java.io.IOException

duplicate

public void duplicate()
               throws java.io.IOException

returnValue

public void returnValue()
                 throws java.io.IOException

swap

public void swap()
          throws java.io.IOException

storeInRegister

public void storeInRegister(int registerNumber)
                     throws java.io.IOException

push

public void push(double value)
          throws java.io.IOException

pushNull

public void pushNull()
              throws java.io.IOException

pushRegister

public void pushRegister(int registerNumber)
                  throws java.io.IOException

push

public void push(boolean value)
          throws java.io.IOException

push

public void push(int value)
          throws java.io.IOException

lookup

public void lookup(int dictionaryIndex)
            throws java.io.IOException

instanceOf

public void instanceOf()
                throws java.io.IOException

enumerateObject

public void enumerateObject()
                     throws java.io.IOException

strictEquals

public void strictEquals()
                  throws java.io.IOException

greaterThan

public void greaterThan()
                 throws java.io.IOException

stringGreaterThan

public void stringGreaterThan()
                       throws java.io.IOException