DOCME: out of date!
The Runtime class has static functions to request the global Runtime instance (a singleton) and it's associated Renderer.
The Runtime represents the runtime environment (Flash, JavaScript, Xinfinity), there is only one global runtime object for a running Xinf application, an instance of a class deriving from xinf.erno.Runtime. The specific runtimes implement some 'abstract' functions defined here in their individual ways.
The Runtime singleton (Runtime.runtime) is an EventDispatcher that dispatches
all global low-level user-interface events. In Xinfony, some of these are
listened for and dispatched to the corresponding target object (see
xinf.ony.Manager).
For other events, you will have to register at the runtime (in particular,
this regards MOUSE_UP, MOUSE_MOVED, KEY_UP, KEY_DOWN and STAGE_SCALED).
You can register listeners either at the Runtime.runtime member or
using the static addEventListener function.
The Runtime is initialized automatically when you instantate an xinf.ony.Application object, or do anything with Runtime.runtime. Only if you want to use Xinferno directly you should probably care about initialization once at the beginning of your application.