Thanks Tracy, I'll try both of those. _____
From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Spratt Sent: Monday, October 26, 2009 9:56 PM To: [email protected] Subject: RE: [SPAM] [flexcoders] Accessing a child component,, specifically a checkbox, from an mxml component If you cast the return as EditTaskBox, you should be able to reference the public members. You could also do this by setting a public property on EditTaskBox and then binding the checkbox to that property. Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of steveb805 Sent: Monday, October 26, 2009 2:30 AM To: [email protected] Subject: [SPAM] [flexcoders] Accessing a child component,, specifically a checkbox, from an mxml component First of all, thanks for the responses concerning the List Items-detecting. Hopefully those responses made it. I'm on the Probation list where it takes a while to get approved. -------------------------------------------------- This next particular issue is really disturbing me, but it's probably pretty simple. I have a mxml file containing a custom component, called EditTaskBox. It's a TitleWindow and it's in my "components" folder. In main.mxml, I have this to create a custom popup: var win:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, EditTaskBox, true)); ( I need to set win.title = "something", so I cast the return to a TitleWindow type. ) There is a checkbox in that component, a nested child, but I can't seem to control it in Actionscript from main.mxml. I can't use EditTaskBox.mycheckbox, because it Understandably complains with "possibly undefined project through reference with static type class. And trying win.mycheckbox doesn't work of course, either. My googling turned up empty. Hoping someone knew about this. Steve

