public function load(locale:Locale):IEventDispatcher
Begin loading a resource bundle. Each call to this method returns a new event-dispatching object the LocaleManager uses to determine whether it completes successfully or results in an error.
This object should dispatch flash.events.Event.Complete and flash.events.IOErrorEvent.IO_ERROR events.
Parameters
Returns | IEventDispatcher — The IEventDispatcher used to dispatch load completion or error, or null if the loader can handle the request synchronously.
|