troubleshooting Question

Adding a scrollbar to a HTMLLoader object

Avatar of jss56
jss56 asked on
Adobe FlashApache Flex
1 Comment1 Solution1607 ViewsLast Modified:
Hi, I have an app that opens a webpage inside of a Panel container. No matter how much the Panel is sized (either specific sizes or 100% of the parent) the HTMLLoader object (the webpage) in the Panel won't supply a scroll bar and so half of the website is unreachable. Can I add a scrollbar to the HTMLLoader object somehow?

Here is the code that I think is relevant to the question.
private function doGoogle():void
				addressInfo[0] = fullname.text;
				addressInfo[1] = address1.text;
				addressInfo[2] = address2.text;
				addressInfo[3] = city.text;
				addressInfo[4] = state.text;
				addressInfo[5] = zipcode.text;
                var urlv:URLVariables = new URLVariables();
                urlv.q = addressInfo[1] + "," + addressInfo[2] + "," + addressInfo[3] + "," + addressInfo[4] + "," + addressInfo[5];
                var url:URLRequest = new URLRequest();
                url.method = URLRequestMethod.GET;
       = urlv;
                url.url = "";
                //navigateToURL( url, "blank");         
                var html:HTMLLoader = new HTMLLoader();
                html.width = stage.stageWidth;
                html.height = stage.stageHeight;
                //this.browser.AutoScroll = true;
                var holder:UIComponent = new UIComponent();
<mx:Panel id="browser" width="100%" height="100%" layout="absolute">
Gary Benade

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros