This Question is Answered

2 "helpful" answers available (5 pts)
7 Replies Last post: Mar 19, 2008 9:59 AM by Aemon Cannon  
Robert Butera Bronze 17 posts since
Mar 1, 2008
Currently Being Moderated

Mar 1, 2008 4:37 PM

Instantiation of the Roster class causes the following error: "No class registered for interface 'mx.resour"ces::IResourceManager'.

I am using the Flex 3 SDK (and flex builder) and am simply trying to instantiate the Roster class which produces the following error:   "No class registered for interface 'mx.resources::IResourceManager'." at runtime.

 

The Roster class is attempting to instatiate the

ArrayCollection class which is causing the problem. I have attempted to

instantiate the ArrayCollection class in my own code and get the same

result.  Not sure if it's worth mentioning, however it is occuring in a straight flex actioncript project (i.e no mxml files).

 

 

It seams absurd that this is happening, I am assuming there is some

environment configuration that is not correct on my dev environment, possibly

something to do with the locale. Can anybody else confirm if they are

getting this problem using Flex 3?

 

 

 

Any information would be greatly appreciated.

 

 

 

Regards

 

 

 

Rob

 

 

Aemon Cannon Bronze 8 posts since
Feb 27, 2008

 

I'm having the same problem. Latest flex 3 (from March 2) doesn't seem to help. I'm just using a little mxml file til this is sorted...

 

 

Aemon Cannon Bronze 8 posts since
Feb 27, 2008

 

Ok, so I'm fed up with using an mxml file. I downloaded the opensource flex package and modified the relevant classes, stripping out all the resourceManager crud from ArrayCollection, ArrayList, ListCollectionView, Sort and Base64Decoder.

 

 

It was a simple change, but now I'm driffting away from Flex3, which sucks

 

 

Is it just me or does it seem pretty dumb to embed an internationalization manager in low level utilities? Base64Decoder?? Should that really be deciding the language used in its exceptions?? This is just glueing Flex3 into one big monolithic mess.

 

 

Aemon Cannon Bronze 8 posts since
Feb 27, 2008

 

Ahhhh

 

 

This fix worked nicely for me. Thanks for the heads-up.

 

 

-Aemon

 

 

More Like This

  • Retrieving data ...