I have this popup window that gets created in the main application. When it is created its given a size of 500/250. There is more content then what is show but I don't see any scrollbars. I tried setting the verticalScrollPolicy to true but it just seems like it doesnt calculate the html text correctly. What am I doing wrong here.
<?xml version="1.0" encoding="utf-8"?> <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" showCloseButton="true" close="closeWindow()"> <mx:Script> <![CDATA[ import mx.managers.PopUpManager; private function closeWindow():void { PopUpManager.removePopUp(this); } ]]> </mx:Script> <mx:Panel width="100%" height="100%" title="Test"> <mx:Text width="100%" height="100%"> <mx:htmlText> <![CDATA[ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam nibh pede, volutpat et, ullamcorper et, lacinia quis, sapien. Cras consequat tincidunt sapien. Nullam ac enim in velit ornare dapibus. Nunc dolor massa, facilisis sit amet, posuere sed, gravida et, quam. Sed ultrices aliquet sapien. Nulla aliquet massa at elit. Nullam viverra. Integer sodales bibendum augue. Suspendisse imperdiet. Donec dignissim tortor sed nisl. Proin viverra, risus nec ornare luctus, nibh mi posuere sem, in placerat elit lorem nec sapien. Cras pellentesque enim sed sem. Ut elit neque, luctus vel, facilisis in, condimentum a, enim.</p> <br/><br/> <br/><br/> <br/><br/> <br/><br/> <br/><br/> Hello ]]> </mx:htmlText> </mx:Text> </mx:Panel> </mx:TitleWindow> Thank You Dan Vega [email protected] http://www.danvega.org

