Re: Screen stays disabled

2015-06-25 Thread Alex Harui
Is this a modal popup? I guess you’d have to debug why PopUpManager doesn’t remove the modal window. On 6/25/15, 10:33 AM, mark goldin markzolo...@gmail.com wrote: I have a large ADG that takes almost the whole screen. It runs within a module that is fired from a top menu. I am opening a popup

A script has executed for longer than ....

2015-06-25 Thread mark goldin
I have a large xml data that UI needs to process. I am getting the above message about timing out. Not sure I can break my function into smaller pieces. Any other idea? Thanks

Re: A script has executed for longer than ....

2015-06-25 Thread Alex Harui
In Flex 3, mx.core.Application.application from anywhere should give you access to the Application and thus its stage. In Flex 4, use FlexGlobals.topLevelApplication. -Alex On 6/25/15, 10:59 AM, mark goldin markzolo...@gmail.com wrote: Alex, I need to use it from a command class that does not

Re: A script has executed for longer than ....

2015-06-25 Thread Alex Harui
On 6/25/15, 8:17 AM, mark goldin markzolo...@gmail.com wrote: In the threadCompleteHandler function? threadCompleteHandler is called when your callback function returns false. The callback function is a function you pass into PseudoThread. -Alex On Thu, Jun 25, 2015 at 10:03 AM Alex Harui

Re: A script has executed for longer than ....

2015-06-25 Thread Alex Harui
Well, xml is terribly slow. If you can server-side process it into something else (RemoteObject/AMF to ValueObjects is considered to be the fastest, ObjectProxy is also slow, JSON might be fast) then you might be able to process all of the data in 60 seconds in ActionScript. However, if one of

Re: A script has executed for longer than ....

2015-06-25 Thread Alex Harui
That sounds like pseudo-threading. You would have to break it up in one frame, handle chunks in separate frames, and assemble in the last frame. With pseudo-threading, you don’t have to break it up and lose parenting and re-assemble, you just keep some state around, and process chunks in each

Re: A script has executed for longer than ....

2015-06-25 Thread mark goldin
What if I break xml into pieces for separate processing and then put them together into one final xml? On Thu, Jun 25, 2015 at 9:12 AM Alex Harui aha...@adobe.com wrote: Well, xml is terribly slow. If you can server-side process it into something else (RemoteObject/AMF to ValueObjects is

Re: Insallation de Flex SDK Installer 3.1 dans ubuntu 12.04

2015-06-25 Thread Alex Harui
The installer isn’t supported on Linux. But yes, the sources for 3.1 assumed yoolab which seems to no longer be functional. The sources for 3.2 are being propagated to the mirrors right now and have a temporary replacement for yoolab. -Alex On 6/25/15, 8:17 AM, Frédéric THOMAS

RE: A script has executed for longer than ....

2015-06-25 Thread Frédéric THOMAS
In the threadCompleteHandler function? Worker and Pseudo-Worker are low level API from which you can certainly achieve your goal, if you prefer to use an easier Thread like API, you can download an compile https://github.com/doublefx/easyWorker Using it, I would probably create a Thread lib

Re: A script has executed for longer than ....

2015-06-25 Thread mark goldin
Can I implement workers if I use Flex 3 with 4.13 SDK? On Thu, Jun 25, 2015 at 10:29 AM Frédéric THOMAS webdoubl...@hotmail.com wrote: In the threadCompleteHandler function? Worker and Pseudo-Worker are low level API from which you can certainly achieve your goal, if you prefer to use an

Insallation de Flex SDK Installer 3.1 dans ubuntu 12.04

2015-06-25 Thread A dami
Bonjour, J'ai essayé d'installer Flex SDK Installer 3.1 dans ma machine ubuntu mais le problème est que le serveur projects.yoolab.org est offline. Donc j'ai pas pu exécuté la commande ant [-DFLEX_HOME=/path/to/apache/flex/sdk] [-DAIR_HOME=/path/to/air/sdk] Merci.

Re: A script has executed for longer than ....

2015-06-25 Thread mark goldin
I see. Alex, I am looking into the article you have provided. Just a quick question. Where do I put my code to process xml? Because you code is rendering screen I am not sure how to adapt your code to my needs. On Thu, Jun 25, 2015 at 9:33 AM Alex Harui aha...@adobe.com wrote: That sounds like

Re: A script has executed for longer than ....

2015-06-25 Thread OmPrakash Muppirala
You can also use AS3 Workers. Thanks, Om On Jun 25, 2015 7:46 AM, mark goldin markzolo...@gmail.com wrote: I see. Alex, I am looking into the article you have provided. Just a quick question. Where do I put my code to process xml? Because you code is rendering screen I am not sure how to

RE: A script has executed for longer than ....

2015-06-25 Thread Frédéric THOMAS
Can I implement workers if I use Flex 3 with 4.13 SDK? If you want to use https://github.com/doublefx/easyWorker, the minimum is Apache Flex 4.13.0 FP 11.5 AIR 3.5, for Flex 3, I guess yes too as the only added class was in core IIRC Frédéric THOMAS

RE: Insallation de Flex SDK Installer 3.1 dans ubuntu 12.04

2015-06-25 Thread Frédéric THOMAS
Hi, I assumed you want to build the Apache Flex Installer from the sources on Linux. /path/to/apache/flex/sdk refers to a local installation of the Flex SDK as /path/to/air/sdk refers to a local installation of the Adobe AIR SDK. You can download the Flex SDK binary kit from

Re: A script has executed for longer than ....

2015-06-25 Thread mark goldin
In the threadCompleteHandler function? On Thu, Jun 25, 2015 at 10:03 AM Alex Harui aha...@adobe.com wrote: In the callback function. The callback function would probably process some node and update variables so when it gets called again it knows to process a different node. On 6/25/15,

Re: A script has executed for longer than ....

2015-06-25 Thread Alex Harui
In the callback function. The callback function would probably process some node and update variables so when it gets called again it knows to process a different node. On 6/25/15, 7:46 AM, mark goldin markzolo...@gmail.com wrote: I see. Alex, I am looking into the article you have provided.

Re: A script has executed for longer than ....

2015-06-25 Thread Javier Guerrero García
Hi Mark: A long shot here: are you sure that, while you are processing the XML, you're NOT triggering constant UI updates on each operation? For instance: if after processing each XML item, you are adding the final result to an ArrayCollection, and you have some rendering component bound to that

Screen stays disabled

2015-06-25 Thread mark goldin
I have a large ADG that takes almost the whole screen. It runs within a module that is fired from a top menu. I am opening a popup (TitleWindow) over the grid. The whole screen becomes disabled. After closing the popup it gets enabled. No code is needed for that kind of functionality. The popup

Re: A script has executed for longer than ....

2015-06-25 Thread Javier Guerrero García
More on that: http://www.jamesward.com/2008/11/21/drunk-on-software-episode-3-performance-pitfalls-of-flexs-arraycollection/ On Thu, Jun 25, 2015 at 6:29 PM, Javier Guerrero García javi...@gmail.com wrote: Hi Mark: A long shot here: are you sure that, while you are processing the XML, you're

Re: A script has executed for longer than ....

2015-06-25 Thread mark goldin
Alex, I need to use it from a command class that does not have systemManager or its stages. How do I go about it? On Thu, Jun 25, 2015 at 11:34 AM Javier Guerrero García javi...@gmail.com wrote: More on that: