This is a known limitation of modules and effectively, the shared-code problem. I would put the DG's styles in a runtime-CSS swf and load it before loading the module the first time.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of boy_trike Sent: Wednesday, September 26, 2007 10:13 AM To: [email protected] Subject: [flexcoders] Module Error when re-loading a module I have a main application that loads a module. Everything works fine until I RE-LOAD the module (via a popup-menu button). After that, when I dbl-click on a grid (which worked fine before.) I get the following error: TypeError: Error #1007: Instantiation attempted on a non-constructor. at mx.controls::DataGrid/mx.controls:DataGrid::drawSeparators() at mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList() at mx.core::UIComponent/validateDisplayList() at mx.managers::LayoutManager/private::validateDisplayList() at mx.managers::LayoutManager/private::doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply <http://adobe.com/AS3/2006/builtin::apply> () at mx.core::UIComponent/private::callLaterDispatcher2() at mx.core::UIComponent/private::callLaterDispatcher() at [enterFrameEvent] Any suggestions? Thanks Bruce

