Class FlashPlugin

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): FlashPlugin

Returns

FlashPlugin

Properties

public static buildDate: string

public flashReady: boolean

public showOutput: boolean

public static swfPath: string

public static version: string

Methods

public create(src: string): SoundInstance

Parameters

  • src: string

Returns

SoundInstance

public getVolume(): number

Returns

number

public isPreloadStarted(src: string): boolean

Parameters

  • src: string

Returns

boolean

public static isSupported(): boolean

Returns

boolean

public preload(src: string, instance: Object)

Parameters

  • src: string
  • instance: Object

public register(src: string, instances: number): Object

Parameters

  • src: string
  • instances: number

Returns

Object

public removeAllSounds()

public removeSound(src: string)

Parameters

  • src: string

public setMute(value: boolean): boolean

Parameters

  • value: boolean

Returns

boolean

public setVolume(value: number): boolean

Parameters

  • value: number

Returns

boolean