I have created a XML driven shell where I'm calling external SWF files reading from the XML. Some of the SWFs has SCROLLPANE from the component panel of Flash is added on their respective stages. Now if I'm running those files individually, they are working fine. But it is loaded in the shell the below issue is coming.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at fl.containers::BaseScrollPane/get maxVerticalScrollPosition()
The problem I believe is with the stage reference used by the component. I usually use a Model class to handle the stage reference. But I'm unable to handle the stage reference of the component. Please help.