Class ButtonHelper

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(target: Sprite, outLabel?: string, overLabel?: string, downLabel?: string, play?: boolean, hitArea?: DisplayObject, hitLabel?: string): ButtonHelper

Parameters

  • target: Sprite
  • outLabel?: string optional
  • overLabel?: string optional
  • downLabel?: string optional
  • play?: boolean optional
  • hitArea?: DisplayObject optional
  • hitLabel?: string optional

Returns

ButtonHelper

constructor(target: MovieClip, outLabel?: string, overLabel?: string, downLabel?: string, play?: boolean, hitArea?: DisplayObject, hitLabel?: string): ButtonHelper

Parameters

  • target: MovieClip
  • outLabel?: string optional
  • overLabel?: string optional
  • downLabel?: string optional
  • play?: boolean optional
  • hitArea?: DisplayObject optional
  • hitLabel?: string optional

Returns

ButtonHelper

Properties

public downLabel: any

public outLabel: any

public overLabel: any

public play: boolean

public target: DisplayObject

Methods

public setEnabled(value: boolean)

Parameters

  • value: boolean

public toString(): string

Returns

string