BabelFx/AS3-Flex-Library

Detect instances of Class that are not IUIComponents

ThomasBurleson opened this issue · 2 comments

SmartResouceInjectors support detection of UIComponent instances (via the Creation_CompleteEvent). However, instantion of classes that are not UIComponents is not yet supported.

Classes such as Sprites or data models or presentation controllers may require localization injections. A reasonable solution to easily integrate these instances into the LocalizationMap processes is needed.

I think an LocaleMap listener for "addedToStage" would suffix for non-UIComponents.

I think a LocaleMap.REGISTER_TARGET event would be useful to manually register non-GUI instances with the SmartResourceInjectors.