PureMVC Architects Lounge

PureMVC Manifold => MultiCore Version => Topic started by: landed on August 20, 2009, 02:42:26



Title: start up manager compile error with multicore
Post by: landed on August 20, 2009, 02:42:26
I cant see that I'm doing anything wrong however the defaultTimeout method throws the compiler

         _monitor.loadResources();
         _monitor.defaultTimeout = 30;

 Error: Access of possibly undefined property defaultTimeout through a reference with static type org.puremvc.as3.multicore.utilities.startupmanager.model:StartupMonitorProxy.

I dont see why unless I have some outdated classes or its multicore ?


Title: Re: start up manager compile error with multicore
Post by: philipSe on August 20, 2009, 04:03:32
As you say, it seems to be outdated classes.  In the version.txt file, I see that version 1.3 had the following information (see the full text for other migration information)
- replace monitor.defaultTimeout = nn, by
  monitor.defaultRetryPolicy = new RetryPolicy(new RetryParameters(0,0,nn))

So, I'm thinking that you're aiming at a pre v1.3 utility but using a swc for a later version.  In fact, the multicore swc only became available after release of 1.3.

As regards latest releases, note that the final release of StartupManager is 1.6.1.  The new version, version 2.0, is called Loadup, released at the beginning of this week.
----Philip