API Documentation for: 0.2.8
Show:

pixiflash.FlashArt Class

Handles the Asset loading for Flash Art takes care of unloading

Constructor

pixiflash.FlashArt

(
  • id
  • dom
  • [libName='lib']
  • suppressWarnings
)
private

Parameters:

  • id String

    The asset id

  • dom NodeElement

    The <script> element added to the document

  • [libName='lib'] String optional

    The window parameter name

  • suppressWarnings Boolean

    Should we hide 'flash asset collision' warnings (default false)

Item Index

Properties

Methods

destroy

()

Defined in destroy:117

Cleanup the Flash library that's been loaded

parseSymbols

(
  • text
  • suppressWarnings
)

Defined in parseSymbols:67

Get the name of all the library elements of the dom text

Parameters:

  • text String

    The DOM text contents

  • suppressWarnings Boolean

    Should we hide 'flash asset collision' warnings (default false)

Properties

dom

NodeElement

Defined in dom:27

Reference to the node element

globalSymbols

Object private static

Defined in globalSymbols:59

The collection of all symbols and assets

id

String

Defined in id:46

The name of the output lib name

libName

String

Defined in libName:39

The name of the output lib name

Default: 'lib'

symbols

Array

Defined in symbols:33

The collection of loaded symbols by name