I’m developing a component that subclasses UIComponent. I am using the getDisplayObjectInstance method to create the display objects used in the draw method.
The component is used in a SWF that is loaded into a child app domain of another SWF.
The component does not exist in the main SWF. Thus, I expected the component class to reside in the child app domain and have access to the classes in the loaded SWF. Instead, the component is looking in the application domain for the skins and not finding them.
Is my logic wrong? Why does the component’s loaderInfo point to the main SWF? What is the best approach without copying the assets into main SWF’s library?