This is just a though, but is the CheckBox part of the Map component? It might be easier to separate them out and put your Map component in a Canvas so you can explicitly position a CheckBox atop the Map wherever you'd like. The CheckBox and Map can refer to each other just as any other set of components would (reference through the id property).
With the decoupling of the CheckBox and Map, you can enable/disable either one of them without compromising the other. -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Raymond Camden Sent: Thursday, October 20, 2005 12:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] disabling a component, but leaving a portion "on" I have a component that displays a map in a nice little VBox with rounded corners. In one corner is a checkbox. This checkbox calls a function in the parent to disable the entire component. This works great. However, I'd like the checkbox to stay active so I can click it again to re-enable the map. That possible? -- ======================================================================= Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : ray.camdenfamily.com Yahoo IM : cfjedimaster "My ally is the Force, and a powerful ally it is." - Yoda -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/