BNMAPI |
This is the bottom-most class in the BNMAPI chain. In other words, this is the end point for the API’s inheritance. All classes are extended by this one and the whole structure is reverse-traversed backwards by calling super constructors until the entire chain is created. This end-point class is provided as the way to create the authoritative and complete BNMAPI singleton instance and it should be the first thing that a prospective application does. The events in this class have been prepared and organized in very specific sequences to ensure that every piece of the API has access to all of its necessary data and references.
For a complete list of all functionality and data available through the BNMAPI instance, refer to the API documentation or to each class individually. Remember that since this is a singleton, all methods and members are available directly through this single reference.
__/ REQUIREMENTS \__
ActionScript 3.0 (or later)
__/ IMPORTS \__
flash.display.MovieClip flash.utils.*
__/ EXTENDS \__
com.bnm.api.LoadManager
__/ IMPLEMENTS \__
nothing
__/ NOTICE \__
©opyright 2008 Bay New Media. All rights, as stipulated in the The MIT License, are reserved.
This ActionScript library is licensed and released under the MIT License (http://www.opensource.org
Please visit http://www.baynewmedia.com/ or email con@baynewm edia.com for information, questions, concerns, or bug reports. tact
__/ NOTES \__
This class is commented using the NaturalDocs documentation system. It is intended to be easily read both from the direct source code and from an adaptation that is generated as hyperlinked HTML. The NaturalDocs specification used in this class’ documentation is version 1.35 though older versions may probably be used safely. For more information, please visit: http://www.naturaldocs.org/
The BNMAPI is officially available (primary sources) on Source Forge (http://sourceforge.net/projects/bnmapi/), on the Bay New Media site (http;//www.baynewmedia.com/), on the PeaBee project site (http://www.peabee.com/), and through the Bay New Media SVM repository server (visit http://www.baynewmedia.com/ for more information). Downloads from other sources may not be complete or up-to-date.
If you’re interested in joining the BNMAPI project in any capacity (development, testing, distribution, etc.), please visit us on Source Forge or the Bay New Media web site.
BNMAPI | This is the bottom-most class in the BNMAPI chain. |
Variables | |
Application | (untyped) A generic reference variable that a main application class can use to register itself with. |
Functions | |
BNMAPI | Constructor method for this class instance and for the entire API class chain. |
create | A static secondary constructor that can be used to non-destructively instantiate the API. |
setListeners | Sets default listeners for the API. |
public var Application: *
(untyped) A generic reference variable that a main application class can use to register itself with. This is typically a reference to the main document class and can be used to provide a centralized reference for various application modules. However, this reference is provided simply as a pseudo-global reference and may in fact point to anything.
public static function create ()
A static secondary constructor that can be used to non-destructively instantiate the API. If an instance already exists, this method will do nothing, otherwise it will create the single instance. Simply importing the <com.bnm.api.BNMAPI> class and calling `BNMAPI.create();` will ensure that the
(untyped) A generic reference variable that a main application class can use to register itself with.
public var Application: *
Constructor method for this class instance and for the entire API class chain.
public function BNMAPI ()
A static secondary constructor that can be used to non-destructively instantiate the API.
public static function create ()
Sets default listeners for the API.
private function setListeners()