I put a dummy reference to the "missing" classes, and then the ide decides they are worth compiling, and does so. Before everyone laughs at my ineptitude, I'd like to explain what I was doing. I'm using a rails back end, and returning a collection of objects that map to AS objects. On the rails side, I create the mapping (i.e. Chart -> model.vo.Chart). I was inspecting the objects I was getting back, and they were just plain Object, not the model.vo.Chart I was expecting. Turns out the model.vo.Chart was not compiled, because I had yet to do anything with the returned objects. I wrote some dummy code that actually referenced the returned data, and whala. It compiled the classes, and now I'm getting correctly typed collections back from rails now. Kind of a chicken before the egg thing.
Thank you guys for all your help! Todd --- In flexcoders@yahoogroups.com, "Aaron Miller" <[EMAIL PROTECTED]> wrote: > > What happens when you try to use the class with the syntax error. Just > curious. > > Regards, > ~Aaron > > > On 2/26/08, Barnaby Jones <[EMAIL PROTECTED]> wrote: > > > > I have cleaned the project( many times actually ). I also checked the > > package names and they are correct. I even deleted the package and > > ctrl+spaced to let FB generate the package declaration. Still no luck :( > > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, > > "Merrill, Jason" > > <jason.merrill@> wrote: > > > > > > Have you also tried cleaning the project? > > > > > > > > > Jason Merrill > > > Bank of America > > > GT&O L&LD Solutions Design & Development > > > eTools & Multimedia > > > > > > Bank of America Flash Platform Developer Community > > > > > > > > > Are you a Bank of America associate interested in innovative learning > > > ideas and technologies? > > > Check out our internal GT&O Innovative Learning Blog > > > <http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/default.aspx> > > > and & subscribe > > > <http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.a > > > spx?List=%7B41BD3FC9%2DBB07%2D4763%2DB3AB%2DA6C7C99C5B8D%7D&Source=http% > > > 3A%2F%2Fsharepoint%2Ebankofamerica%2Ecom%2Fsites%2Fddc%2Frd%2Fblog%2FLis > > > ts%2FPosts%2FArchive%2Easpx> . > > > > > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > From: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> > > > [mailto:flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>] On > > Behalf Of Barnaby Jones > > > Sent: Tuesday, February 26, 2008 3:35 PM > > > To: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> > > > Subject: [flexcoders] New files in project not compiled? > > > > > > > > > > > > My flex project (using flex builder 3) has somehow gotten into a > > > state > > > where any new AS class I add to the project is not even > > > attempted to > > > be compiled. I throw tons of syntax errors into it, and the > > > project > > > builds just fine. If I put an error in an already existing file, > > > the > > > build fails and reports the error on the existing file. I have > > > tried > > > deleting and rebuilding the project. I have also tried upgrading > > > to > > > the release version of FB3 (was using beta). Hope someone can > > > help. > > > > > > Thanks > > > Todd > > > > > > > > > > > > > -- > Aaron Miller > Chief Technology Officer > Splash Labs, LLC. > [EMAIL PROTECTED] | 360-255-1145 > http://www.splashlabs.com >