Hi All, We are in process of migrating a working Flex 2 application to Flex 3.
There were no compilation errors when application was compiled with Flex 3 SDK. But when we start the application, it throws a script timeout error: Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at mx.managers.layoutClasses::PriorityQueue/removeSmallestChild() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\managers\layoutClasses\PriorityQ ueue.as:214] at mx.managers::LayoutManager/validateClient() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\managers\LayoutManager.as:915] at mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\core\UIComponent.as:5679] at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::valid ateBaselinePosition()[C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\core\UIComponent.as:5715] at mx.controls::TextInput/get baselinePosition() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\controls\TextInput.as:408] at mx.containers::FormItem/updateDisplayList() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\containers\FormItem.as:913] at mx.core::UIComponent/validateDisplayList() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\core\UIComponent.as:6351] at mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\core\Container.as:2677] at mx.managers::LayoutManager/validateDisplayList() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\managers\LayoutManager.as:622] at mx.managers::LayoutManager/doPhasedInstantiation() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\managers\LayoutManager.as:677] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\core\UIComponent.as:8628] at mx.core::UIComponent/callLaterDispatcher() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\core\UIComponent.as:8568] The application is taking a huge time to 'validate' each component in the UI and each time we observe a timeout at different UI component. Few observations from our end: 1. The application is very straight forward and only thing complex in it is UI layout. There are a few of complex layouts, viewstacks and datagrids used. 2. The `creationPolicy' at application level has been set to 'All' because of design. This although is not a standard practice but this does not help us because the same application compiled with Flex 2 used to load successfully. If anybody has faced a similar issue and has some suggestions please do give us pointers. Otherwise we are left with a lengthier option of re-factoring the application so that creation policy defaults to 'auto' and modify the application design. Thanks in advance, Sujatha