I'm trying to cut off any gui controls that appear outside the parent container. In this case, any part of button2 which appears outside the yellow hbox.
how do i achieve this ? TIA <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" > <mx:HBox width="300" height="100" backgroundColor="yellow" paddingRight="-15"> <mx:Button label="number1" width="75%"/> <mx:Button label="number2" /> </mx:HBox> </mx:Application> ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/