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: start up manager compile error with multicore  (Read 6118 times)
landed
Full Member
***
Posts: 37


View Profile Email
« 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 ?
Logged
philipSe
Sr. Member
****
Posts: 139


View Profile Email
« Reply #1 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
Logged
Pages: [1]
Print