Quick addition: ANY binding breaks the app, not just binding to my logic components. Binding to a global variable for example, after the threshold point, causes the problem.
Tracy -----Original Message----- From: Tracy Spratt [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 12:53 PM To: [email protected] Subject: RE: [flexcoders] Re: Flex selectively instantiates my components? Roger if you are monitoring this thread --- We have discovered a sort of "threshold" effect on the systems(2) that exhibit the subject misbehavior. A small test app works fine; we successfully bind logic component properties to UI properties. Then at some point, the next binding we add breaks the app. Specifically, here is what we observe about the problem: * the "missing" (middle) instance is instantiated; we can alert its static properties directly via its id. * the binding between the top and middle components is broken; alerting its static properties through the top component returns undefined * the nested arrays of components(bottom) are NOT instantiated; alert returns undefined for both direct access and through the logical parent * Removing any binding fixes the problem. * Of course the same code works fine on my system. (I guess I have magicked something) I'll update you with any more info I find. Tracy -----Original Message----- From: Roger Gonzalez [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 10:02 AM To: '[email protected]' Subject: RE: [flexcoders] Re: Flex selectively instantiates my components? Well. That's pretty bizarre. Some weak ideas and questions: - why are you adding a local subdir to the classpath? Why not use them with a package prefix (i.e. logicComponents.*) - any possibility of nameclash with your components? could your coworker have a different version of some class that is getting loaded? - Turn the <compile-report> flag on in flex-config on both machines, and look for the MyApplication-report.xml file in the app dir. See if there's anything suspiciously different between the two machines. We'll get to the bottom of this! -Roger Roger Gonzalez mailto:[EMAIL PROTECTED] > -----Original Message----- > From: Tracy Spratt [mailto:[EMAIL PROTECTED] > Sent: Monday, April 26, 2004 5:30 PM > To: [email protected] > Subject: RE: [flexcoders] Re: Flex selectively instantiates > my components? > > We are all running our own individual development > environments, so what > I did was to copy "it" (my application folder) to his machine, in the > same location, .../default/flex/MyApplication. MyApplication has two > subfolders "logicComponents" and "UIComponents". I put those folders > into the <actionscript=classpath> specification in flex-config.xml. > > The application consists of a data mxml component, which has two > "MyList" components, and is used as the root tag of the UI component > file which has two DataGrid components that use the MyList components > for data. Both Data and UI component are in the root of the > application > folder. > > I have discovered that if I put both data and UI component in the same > mxml file, I don't have this problem on the other machines. > (short term > workaround though, I plan to have multiple UI's for a single data > component) > > I have somehow voodoo'd my system to work all the time ;)! > > > -----Original Message----- > From: Roger Gonzalez [mailto:[EMAIL PROTECTED] > Sent: Monday, April 26, 2004 3:20 PM > To: '[email protected]' > Subject: RE: [flexcoders] Re: Flex selectively instantiates my > components? > > > Everything works fine on my development machine, but when I move it > > to another developers system I get very strange behavior. Stepping > > through the code in a debugger I can see that the myGroups array > > What exactly do you mean by "move it to another developers system"? > > What is "it" in this case? > > I'm skeptical about Ely's theory. He hasn't actually seen that happen > since > before we shipped, or else I'd have seen a bug filed. :-) > > -Roger > > Roger Gonzalez > mailto:[EMAIL PROTECTED] > > > > > > Yahoo! Groups Links > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> > Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark > Printer at MyInks.com. Free s/h on orders $50 or more to the > US & Canada. > http://www.c1tracking.com/l.asp?cid=5511 > http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/nhFolB/TM > -------------------------------------------------------------- > -------~-> > > > Yahoo! Groups Links > > > > > Yahoo! Groups Links Yahoo! Groups Links

