Packagecom.tapjoy.extensions
Classpublic class TJEarnedCurrencyEvent
InheritanceTJEarnedCurrencyEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  amount : int
[read-only] The currency balance returned by the event.
TJEarnedCurrencyEvent
  currencyName : String
[read-only] The currency name returned by the event.
TJEarnedCurrencyEvent
Public Methods
 MethodDefined By
  
TJEarnedCurrencyEvent(type:String, pCurrencyName:String, pAmount:int, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a TapjoyCurrencyEvent object to pass as a parameter to event listeners.
TJEarnedCurrencyEvent
Public Constants
 ConstantDefined By
  EARNED_CURRENCY : String = EARNED_CURRENCY
[static]
TJEarnedCurrencyEvent
Property Detail
amountproperty
amount:int  [read-only]

The currency balance returned by the event.


Implementation
    public function get amount():int
currencyNameproperty 
currencyName:String  [read-only]

The currency name returned by the event.


Implementation
    public function get currencyName():String
Constructor Detail
TJEarnedCurrencyEvent()Constructor
public function TJEarnedCurrencyEvent(type:String, pCurrencyName:String, pAmount:int, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a TapjoyCurrencyEvent object to pass as a parameter to event listeners.

Parameters
type:String — The type of the event, accessible as TapjoyCurrencyEvent.type.
 
pCurrencyName:String — The name of the currency that the event is returning.
 
pAmount:int — The amount of earned currency
 
bubbles:Boolean (default = false) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false) — Determines whether the Event object can be canceled. The default value is false.
Constant Detail
EARNED_CURRENCYConstant
public static const EARNED_CURRENCY:String = EARNED_CURRENCY