Thanks, but that doesn't totally do what I need because there may be something in the visible area of the blue HBox that I do want to be clickable.
-James On Sat, 2005-05-14 at 00:27 +0530, Sreejith Unnikrishnan wrote: > Just set the first mx:VBox enabled="false" > No user interaction should be possible! > > Sree > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of James Ward > Sent: Saturday, May 14, 2005 12:10 AM > To: [email protected] > Subject: [flexcoders] Canvas Children & Cursor / Event Stuff > > > So how do I get a child of a canvas to hide cursor changes and > click > events of children which are "beneath" the child? > > For example: > > <mx:Canvas width="100%" height="100%"> > <mx:VBox width="200" height="200" x="100" y="100" > backgroundColor="#0000ff" horizontalAlign="center" > verticalAlign="middle" enabled="false" > > <mx:Link label="blue blue blue blue" > click="alert('blue')"/> > </mx:VBox> > <mx:VBox width="200" height="200" x="150" y="150" > backgroundColor="#00ff00" horizontalAlign="center" > verticalAlign="middle" alpha="50"> > <mx:Link label="green green green green" > click="alert('green')"/> > </mx:VBox> > </mx:Canvas> > > I do not want the "blue" link to be clickable since it is > "under" the > "green" VBox. The second VBox is set to 50% alpha for > testing. > > Any ideas? > > Thanks in advance. > > -James > > > > > ______________________________________________________________ > 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 the Yahoo! > Terms of Service. > 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/

