com.flagstone.transform.action
Class RegisterIndex

java.lang.Object
  extended by com.flagstone.transform.action.RegisterIndex

public final class RegisterIndex
extends Object

RegisterIndex is used references a value stored in one of the Flash Player's internal registers. The value will be pushed onto the top of the Flash Player's stack.

See Also:
RegisterCopy, Push

Constructor Summary
RegisterIndex(int index)
          Creates a RegisterIndex object referencing the value stored in one of the Flash Player's internal registers.
 
Method Summary
 int getNumber()
          Get the number of the register that will be accessed and the value pushed onto the Flash Player's stack.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegisterIndex

public RegisterIndex(int index)
Creates a RegisterIndex object referencing the value stored in one of the Flash Player's internal registers.

Parameters:
index - the register number. Must be in the range 0..255.
Method Detail

getNumber

public int getNumber()
Get the number of the register that will be accessed and the value pushed onto the Flash Player's stack.

Returns:
the register number.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2002-2010 Flagstone Software Ltd.. All Rights Reserved.