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

Quick Search    Search Deep

com.anotherbigidea.flash.writers
Class SWFActionsImpl  view SWFActionsImpl download SWFActionsImpl.java

java.lang.Object
  extended bycom.anotherbigidea.flash.writers.SWFActionsImpl
All Implemented Interfaces:
com.anotherbigidea.flash.interfaces.SWFActions

public class SWFActionsImpl
extends java.lang.Object
implements com.anotherbigidea.flash.interfaces.SWFActions

A pass-through implementation of the SWFActions interface


Field Summary
protected  com.anotherbigidea.flash.interfaces.SWFActions acts
           
 
Fields inherited from interface com.anotherbigidea.flash.interfaces.SWFActions
GET_URL_MODE_LOAD_MOVIE_INTO_LEVEL, GET_URL_MODE_LOAD_MOVIE_INTO_SPRITE, GET_URL_MODE_LOAD_VARS_INTO_LEVEL, GET_URL_MODE_LOAD_VARS_INTO_SPRITE, GET_URL_SEND_VARS_GET, GET_URL_SEND_VARS_NONE, GET_URL_SEND_VARS_POST
 
Constructor Summary
SWFActionsImpl()
           
SWFActionsImpl(com.anotherbigidea.flash.interfaces.SWFActions acts)
           
 
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 setSWFActions(com.anotherbigidea.flash.interfaces.SWFActions acts)
          Set the pass-through target
 void setTarget()
           
 void setTarget(java.lang.String target)
           
 void setVariable()
           
 void shiftLeft()
           
 void shiftRight()
           
 void shiftRightUnsigned()
           
 void start(int conditions)
          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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

acts

protected com.anotherbigidea.flash.interfaces.SWFActions acts
Constructor Detail

SWFActionsImpl

public SWFActionsImpl(com.anotherbigidea.flash.interfaces.SWFActions acts)

SWFActionsImpl

public SWFActionsImpl()
Method Detail

setSWFActions

public void setSWFActions(com.anotherbigidea.flash.interfaces.SWFActions acts)
Set the pass-through target


start

public void start(int conditions)
           throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFActions
Start of actions

Specified by:
start in interface com.anotherbigidea.flash.interfaces.SWFActions

end

public void end()
         throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFActions
End of actions

Specified by:
end in interface com.anotherbigidea.flash.interfaces.SWFActions

done

public void done()
          throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFActions
End of all action blocks

Specified by:
done in interface com.anotherbigidea.flash.interfaces.SWFActions

blob

public void blob(byte[] blob)
          throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFActions
Pass through a blob of actions

Specified by:
blob in interface com.anotherbigidea.flash.interfaces.SWFActions

unknown

public void unknown(int code,
                    byte[] data)
             throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFActions
Unrecognized action code

Specified by:
unknown in interface com.anotherbigidea.flash.interfaces.SWFActions

initArray

public void initArray()
               throws java.io.IOException
Specified by:
initArray in interface com.anotherbigidea.flash.interfaces.SWFActions

jumpLabel

public void jumpLabel(java.lang.String label)
               throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFActions
Target label for a jump - this method call immediately precedes the target action.

Specified by:
jumpLabel in interface com.anotherbigidea.flash.interfaces.SWFActions

gotoFrame

public void gotoFrame(int frameNumber)
               throws java.io.IOException
Specified by:
gotoFrame in interface com.anotherbigidea.flash.interfaces.SWFActions

gotoFrame

public void gotoFrame(java.lang.String label)
               throws java.io.IOException
Specified by:
gotoFrame in interface com.anotherbigidea.flash.interfaces.SWFActions

getURL

public void getURL(java.lang.String url,
                   java.lang.String target)
            throws java.io.IOException
Specified by:
getURL in interface com.anotherbigidea.flash.interfaces.SWFActions

nextFrame

public void nextFrame()
               throws java.io.IOException
Specified by:
nextFrame in interface com.anotherbigidea.flash.interfaces.SWFActions

prevFrame

public void prevFrame()
               throws java.io.IOException
Specified by:
prevFrame in interface com.anotherbigidea.flash.interfaces.SWFActions

play

public void play()
          throws java.io.IOException
Specified by:
play in interface com.anotherbigidea.flash.interfaces.SWFActions

stop

public void stop()
          throws java.io.IOException
Specified by:
stop in interface com.anotherbigidea.flash.interfaces.SWFActions

toggleQuality

public void toggleQuality()
                   throws java.io.IOException
Specified by:
toggleQuality in interface com.anotherbigidea.flash.interfaces.SWFActions

stopSounds

public void stopSounds()
                throws java.io.IOException
Specified by:
stopSounds in interface com.anotherbigidea.flash.interfaces.SWFActions

setTarget

public void setTarget(java.lang.String target)
               throws java.io.IOException
Specified by:
setTarget in interface com.anotherbigidea.flash.interfaces.SWFActions

jump

public void jump(java.lang.String jumpLabel)
          throws java.io.IOException
Specified by:
jump in interface com.anotherbigidea.flash.interfaces.SWFActions

ifJump

public void ifJump(java.lang.String jumpLabel)
            throws java.io.IOException
Specified by:
ifJump in interface com.anotherbigidea.flash.interfaces.SWFActions

waitForFrame

public void waitForFrame(int frameNumber,
                         java.lang.String jumpLabel)
                  throws java.io.IOException
Specified by:
waitForFrame in interface com.anotherbigidea.flash.interfaces.SWFActions

waitForFrame

public void waitForFrame(java.lang.String jumpLabel)
                  throws java.io.IOException
Specified by:
waitForFrame in interface com.anotherbigidea.flash.interfaces.SWFActions

pop

public void pop()
         throws java.io.IOException
Specified by:
pop in interface com.anotherbigidea.flash.interfaces.SWFActions

push

public void push(java.lang.String value)
          throws java.io.IOException
Specified by:
push in interface com.anotherbigidea.flash.interfaces.SWFActions

push

public void push(float value)
          throws java.io.IOException
Specified by:
push in interface com.anotherbigidea.flash.interfaces.SWFActions

push

public void push(double value)
          throws java.io.IOException
Specified by:
push in interface com.anotherbigidea.flash.interfaces.SWFActions

pushNull

public void pushNull()
              throws java.io.IOException
Specified by:
pushNull in interface com.anotherbigidea.flash.interfaces.SWFActions

pushRegister

public void pushRegister(int registerNumber)
                  throws java.io.IOException
Specified by:
pushRegister in interface com.anotherbigidea.flash.interfaces.SWFActions

push

public void push(boolean value)
          throws java.io.IOException
Specified by:
push in interface com.anotherbigidea.flash.interfaces.SWFActions

push

public void push(int value)
          throws java.io.IOException
Specified by:
push in interface com.anotherbigidea.flash.interfaces.SWFActions

lookup

public void lookup(int dictionaryIndex)
            throws java.io.IOException
Specified by:
lookup in interface com.anotherbigidea.flash.interfaces.SWFActions

add

public void add()
         throws java.io.IOException
Specified by:
add in interface com.anotherbigidea.flash.interfaces.SWFActions

substract

public void substract()
               throws java.io.IOException
Specified by:
substract in interface com.anotherbigidea.flash.interfaces.SWFActions

multiply

public void multiply()
              throws java.io.IOException
Specified by:
multiply in interface com.anotherbigidea.flash.interfaces.SWFActions

divide

public void divide()
            throws java.io.IOException
Specified by:
divide in interface com.anotherbigidea.flash.interfaces.SWFActions

equals

public void equals()
            throws java.io.IOException
Specified by:
equals in interface com.anotherbigidea.flash.interfaces.SWFActions

lessThan

public void lessThan()
              throws java.io.IOException
Specified by:
lessThan in interface com.anotherbigidea.flash.interfaces.SWFActions

and

public void and()
         throws java.io.IOException
Specified by:
and in interface com.anotherbigidea.flash.interfaces.SWFActions

or

public void or()
        throws java.io.IOException
Specified by:
or in interface com.anotherbigidea.flash.interfaces.SWFActions

not

public void not()
         throws java.io.IOException
Specified by:
not in interface com.anotherbigidea.flash.interfaces.SWFActions

stringEquals

public void stringEquals()
                  throws java.io.IOException
Specified by:
stringEquals in interface com.anotherbigidea.flash.interfaces.SWFActions

stringLength

public void stringLength()
                  throws java.io.IOException
Specified by:
stringLength in interface com.anotherbigidea.flash.interfaces.SWFActions

concat

public void concat()
            throws java.io.IOException
Specified by:
concat in interface com.anotherbigidea.flash.interfaces.SWFActions

substring

public void substring()
               throws java.io.IOException
Specified by:
substring in interface com.anotherbigidea.flash.interfaces.SWFActions

stringLessThan

public void stringLessThan()
                    throws java.io.IOException
Specified by:
stringLessThan in interface com.anotherbigidea.flash.interfaces.SWFActions

stringLengthMB

public void stringLengthMB()
                    throws java.io.IOException
Specified by:
stringLengthMB in interface com.anotherbigidea.flash.interfaces.SWFActions

substringMB

public void substringMB()
                 throws java.io.IOException
Specified by:
substringMB in interface com.anotherbigidea.flash.interfaces.SWFActions

toInteger

public void toInteger()
               throws java.io.IOException
Specified by:
toInteger in interface com.anotherbigidea.flash.interfaces.SWFActions

charToAscii

public void charToAscii()
                 throws java.io.IOException
Specified by:
charToAscii in interface com.anotherbigidea.flash.interfaces.SWFActions

asciiToChar

public void asciiToChar()
                 throws java.io.IOException
Specified by:
asciiToChar in interface com.anotherbigidea.flash.interfaces.SWFActions

charMBToAscii

public void charMBToAscii()
                   throws java.io.IOException
Specified by:
charMBToAscii in interface com.anotherbigidea.flash.interfaces.SWFActions

asciiToCharMB

public void asciiToCharMB()
                   throws java.io.IOException
Specified by:
asciiToCharMB in interface com.anotherbigidea.flash.interfaces.SWFActions

call

public void call()
          throws java.io.IOException
Specified by:
call in interface com.anotherbigidea.flash.interfaces.SWFActions

getVariable

public void getVariable()
                 throws java.io.IOException
Specified by:
getVariable in interface com.anotherbigidea.flash.interfaces.SWFActions

setVariable

public void setVariable()
                 throws java.io.IOException
Specified by:
setVariable in interface com.anotherbigidea.flash.interfaces.SWFActions

getURL

public void getURL(int sendVars,
                   int loadMode)
            throws java.io.IOException
Specified by:
getURL in interface com.anotherbigidea.flash.interfaces.SWFActions

gotoFrame

public void gotoFrame(boolean play)
               throws java.io.IOException
Specified by:
gotoFrame in interface com.anotherbigidea.flash.interfaces.SWFActions

setTarget

public void setTarget()
               throws java.io.IOException
Specified by:
setTarget in interface com.anotherbigidea.flash.interfaces.SWFActions

getProperty

public void getProperty()
                 throws java.io.IOException
Specified by:
getProperty in interface com.anotherbigidea.flash.interfaces.SWFActions

setProperty

public void setProperty()
                 throws java.io.IOException
Specified by:
setProperty in interface com.anotherbigidea.flash.interfaces.SWFActions

cloneSprite

public void cloneSprite()
                 throws java.io.IOException
Specified by:
cloneSprite in interface com.anotherbigidea.flash.interfaces.SWFActions

removeSprite

public void removeSprite()
                  throws java.io.IOException
Specified by:
removeSprite in interface com.anotherbigidea.flash.interfaces.SWFActions

startDrag

public void startDrag()
               throws java.io.IOException
Specified by:
startDrag in interface com.anotherbigidea.flash.interfaces.SWFActions

endDrag

public void endDrag()
             throws java.io.IOException
Specified by:
endDrag in interface com.anotherbigidea.flash.interfaces.SWFActions

trace

public void trace()
           throws java.io.IOException
Specified by:
trace in interface com.anotherbigidea.flash.interfaces.SWFActions

getTime

public void getTime()
             throws java.io.IOException
Specified by:
getTime in interface com.anotherbigidea.flash.interfaces.SWFActions

randomNumber

public void randomNumber()
                  throws java.io.IOException
Specified by:
randomNumber in interface com.anotherbigidea.flash.interfaces.SWFActions

lookupTable

public void lookupTable(java.lang.String[] values)
                 throws java.io.IOException
Specified by:
lookupTable in interface com.anotherbigidea.flash.interfaces.SWFActions

callFunction

public void callFunction()
                  throws java.io.IOException
Specified by:
callFunction in interface com.anotherbigidea.flash.interfaces.SWFActions

callMethod

public void callMethod()
                throws java.io.IOException
Specified by:
callMethod in interface com.anotherbigidea.flash.interfaces.SWFActions

startFunction

public void startFunction(java.lang.String name,
                          java.lang.String[] paramNames)
                   throws java.io.IOException
Specified by:
startFunction in interface com.anotherbigidea.flash.interfaces.SWFActions

endBlock

public void endBlock()
              throws java.io.IOException
Specified by:
endBlock in interface com.anotherbigidea.flash.interfaces.SWFActions

comment

public void comment(java.lang.String comment)
             throws java.io.IOException
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFActions
Comment Text - useful for debugging purposes

Specified by:
comment in interface com.anotherbigidea.flash.interfaces.SWFActions

defineLocalValue

public void defineLocalValue()
                      throws java.io.IOException
Specified by:
defineLocalValue in interface com.anotherbigidea.flash.interfaces.SWFActions

defineLocal

public void defineLocal()
                 throws java.io.IOException
Specified by:
defineLocal in interface com.anotherbigidea.flash.interfaces.SWFActions

deleteProperty

public void deleteProperty()
                    throws java.io.IOException
Specified by:
deleteProperty in interface com.anotherbigidea.flash.interfaces.SWFActions

deleteThreadVars

public void deleteThreadVars()
                      throws java.io.IOException
Specified by:
deleteThreadVars in interface com.anotherbigidea.flash.interfaces.SWFActions

enumerate

public void enumerate()
               throws java.io.IOException
Specified by:
enumerate in interface com.anotherbigidea.flash.interfaces.SWFActions

typedEquals

public void typedEquals()
                 throws java.io.IOException
Specified by:
typedEquals in interface com.anotherbigidea.flash.interfaces.SWFActions

getMember

public void getMember()
               throws java.io.IOException
Specified by:
getMember in interface com.anotherbigidea.flash.interfaces.SWFActions

initObject

public void initObject()
                throws java.io.IOException
Specified by:
initObject in interface com.anotherbigidea.flash.interfaces.SWFActions

newMethod

public void newMethod()
               throws java.io.IOException
Specified by:
newMethod in interface com.anotherbigidea.flash.interfaces.SWFActions

newObject

public void newObject()
               throws java.io.IOException
Specified by:
newObject in interface com.anotherbigidea.flash.interfaces.SWFActions

setMember

public void setMember()
               throws java.io.IOException
Specified by:
setMember in interface com.anotherbigidea.flash.interfaces.SWFActions

getTargetPath

public void getTargetPath()
                   throws java.io.IOException
Specified by:
getTargetPath in interface com.anotherbigidea.flash.interfaces.SWFActions

startWith

public void startWith()
               throws java.io.IOException
Specified by:
startWith in interface com.anotherbigidea.flash.interfaces.SWFActions

duplicate

public void duplicate()
               throws java.io.IOException
Specified by:
duplicate in interface com.anotherbigidea.flash.interfaces.SWFActions

returnValue

public void returnValue()
                 throws java.io.IOException
Specified by:
returnValue in interface com.anotherbigidea.flash.interfaces.SWFActions

swap

public void swap()
          throws java.io.IOException
Specified by:
swap in interface com.anotherbigidea.flash.interfaces.SWFActions

storeInRegister

public void storeInRegister(int registerNumber)
                     throws java.io.IOException
Specified by:
storeInRegister in interface com.anotherbigidea.flash.interfaces.SWFActions

convertToNumber

public void convertToNumber()
                     throws java.io.IOException
Specified by:
convertToNumber in interface com.anotherbigidea.flash.interfaces.SWFActions

convertToString

public void convertToString()
                     throws java.io.IOException
Specified by:
convertToString in interface com.anotherbigidea.flash.interfaces.SWFActions

typeOf

public void typeOf()
            throws java.io.IOException
Specified by:
typeOf in interface com.anotherbigidea.flash.interfaces.SWFActions

typedAdd

public void typedAdd()
              throws java.io.IOException
Specified by:
typedAdd in interface com.anotherbigidea.flash.interfaces.SWFActions

typedLessThan

public void typedLessThan()
                   throws java.io.IOException
Specified by:
typedLessThan in interface com.anotherbigidea.flash.interfaces.SWFActions

modulo

public void modulo()
            throws java.io.IOException
Specified by:
modulo in interface com.anotherbigidea.flash.interfaces.SWFActions

bitAnd

public void bitAnd()
            throws java.io.IOException
Specified by:
bitAnd in interface com.anotherbigidea.flash.interfaces.SWFActions

bitOr

public void bitOr()
           throws java.io.IOException
Specified by:
bitOr in interface com.anotherbigidea.flash.interfaces.SWFActions

bitXor

public void bitXor()
            throws java.io.IOException
Specified by:
bitXor in interface com.anotherbigidea.flash.interfaces.SWFActions

shiftLeft

public void shiftLeft()
               throws java.io.IOException
Specified by:
shiftLeft in interface com.anotherbigidea.flash.interfaces.SWFActions

shiftRight

public void shiftRight()
                throws java.io.IOException
Specified by:
shiftRight in interface com.anotherbigidea.flash.interfaces.SWFActions

shiftRightUnsigned

public void shiftRightUnsigned()
                        throws java.io.IOException
Specified by:
shiftRightUnsigned in interface com.anotherbigidea.flash.interfaces.SWFActions

decrement

public void decrement()
               throws java.io.IOException
Specified by:
decrement in interface com.anotherbigidea.flash.interfaces.SWFActions

increment

public void increment()
               throws java.io.IOException
Specified by:
increment in interface com.anotherbigidea.flash.interfaces.SWFActions

enumerateObject

public void enumerateObject()
                     throws java.io.IOException
Specified by:
enumerateObject in interface com.anotherbigidea.flash.interfaces.SWFActions

greaterThan

public void greaterThan()
                 throws java.io.IOException
Specified by:
greaterThan in interface com.anotherbigidea.flash.interfaces.SWFActions

instanceOf

public void instanceOf()
                throws java.io.IOException
Specified by:
instanceOf in interface com.anotherbigidea.flash.interfaces.SWFActions

strictEquals

public void strictEquals()
                  throws java.io.IOException
Specified by:
strictEquals in interface com.anotherbigidea.flash.interfaces.SWFActions

stringGreaterThan

public void stringGreaterThan()
                       throws java.io.IOException
Specified by:
stringGreaterThan in interface com.anotherbigidea.flash.interfaces.SWFActions