Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: AppSkeleton StartupMonitorProxy  (Read 7914 times)
gencha
Newbie
*
Posts: 6


View Profile Email
« on: May 30, 2008, 06:16:25 »

I am working on a small project for which i adopted most of the classes from the AppSkeleton demo.
But there seems to be a problem with the StartupMonitorProxy class.
Here is how to reproduce it.

Add a non-blocking proxy (Proxy1) and at least one more (blocking or non-blocking) proxy (Proxy2-ProxyN) after that.
Start the loading process.
StartupMonitorProxy will now start loading Proxy1 and at least Proxy2.
As soon as Proxy2 has finished it will loop through the chain again and find the first proxy that has not signaled successful loading yet.
In my case, that is Proxy1, so it will try to load it again even though the loading process is still running.

I am aware that this can easily be fixed with an additional flag in the ResourceVO class (among other possible fixes), but as i didn't find this mentioned on the forum i thought i should write a little note ;)
Logged
philipSe
Sr. Member
****
Posts: 139


View Profile Email
« Reply #1 on: May 30, 2008, 06:32:42 »

You might be interested in the StartupManager utility, which evolved from AppSkeleton.  Relevant links are
http://trac.puremvc.org/Utility_AS3_StartupManager

http://forums.puremvc.org/index.php?topic=259.msg985#msg985

----Philip
Logged
gencha
Newbie
*
Posts: 6


View Profile Email
« Reply #2 on: May 30, 2008, 06:52:28 »

Thanks i will look into it.
I still think this should be addressed in the demo application.
Logged
Pages: [1]
Print