So I swapped out Box with s:Panel as the base of my custom component. If I don't set set height or width in my component then Flash freezes and says the script is running longer than 15 seconds. Also this same thing happened when I was using mx:Box as the base of my component. This is happening without me overriding any of the measure, commitProperties, etc... functoins. Any suggestions?
Jason --- In [email protected], Alex Harui <aha...@...> wrote: > > Popups are a special case. Panel/TitleWindow know when they've been popped > up and resize themselves. You'll have to teach your Box to do the same. > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: [email protected] [mailto:[email protected]] On > Behalf Of flexaustin > Sent: Thursday, October 08, 2009 2:07 PM > To: [email protected] > Subject: [flexcoders] Custom PopUp not resizing. > > > > I have a custom popup based on mx:Box. In it I have a dropdown. In this list > dropdown you can select multiple items that once items are selected they stay > in the dropdowns selected box (think multiselect combobo box). My custom pop > has a width and height set to 300 by 300; > > Anyway, when I select several items the pop (not the dropdownlist) starts > adding scrollbars when there are to many. If I set the horizontalscrollpolicy > and verticallscrollpolicy to off then the pop start moving out of what looks > like the popups viewablearea/scrollRect? > So as the selecteditems in my dropdown gets longer the top of the popup start > disappearing? > > Does the popupmanager need to know to increase its viewable area for the > popup? Or is it possible to have a popup increase in size? >

