Hi Axay,

When you are adding the ColumnSets at runtime, are you adding them using
some kind of a for loop? If yes, can you try to add after setting a delay.
Something like using setInterval, call a method at a certain interval. And
in the method, check for the loop condition and if the condition does not
satisfy, then do clearInterval. By doing this, we can ensure that we will
give enough time for Flex to build the column sets.

Regards,
Venkat
www.venkatv.com


On Thu, Dec 18, 2008 at 7:39 PM, Axay <[email protected]> wrote:

>
> Error: Error #1502: A script has executed for longer than the default
> timeout period of 15 seconds.
>        at mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x
> \frameworks\projects\framework\src\mx\managers\LayoutManager.as:598]
>        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x
> \frameworks\projects\framework\src\mx\managers\LayoutManager.as:675]
>        at 
> Function/http://adobe.com/AS3/2006/builtin::apply()<http://adobe.com/AS3/2006/builtin::apply%28%29>
>        at
> mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks
> \projects\framework\src\mx\core\UIComponent.as:8460]
>        at
> mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks
> \projects\framework\src\mx\core\UIComponent.as:8403]
>
>
> Can any one please tell how to debug this error. There is no infinite
> loop problem with the code. Error comes when there are large amount of
> ColumnChart having ColumnSets are added to a container at runtime.
> This error doesn't come if the number of charts are less.
>
> Please post your suggestions to debug this.
> Thanks,
> Axay
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to