If you are using some implementation of Group, DataGroup and RichEditableText components, you can just set the Scroller component outside your wrapper.
<s:Scroller width="100" height="100"> <s:Group horizontalScrollPosition="50" verticalScrollPosition="50"> <mx:Image width="300" height="400" source="@Embed(source='assets/logo.jpg')"/> </s:Group> </s:Scroller>
Hope it helps you!
In your html template page (which you can edit in your flashbuilder project panel ->html-template->indext.template.html)
in your html add the jscript function:
document.getElementById('theWindow').style.height=heightVal; // make sure to give the body tag an id of 'theWindow' or whatever
you need to send the jscript fx the height of your container or whatever you want it resized to....
Hi mike thanks for that it worked perfectly, however now i've added a scrollbar when I scroll down the rest of the content that should be there is hidden. Its as if the apps working on browser height... :s. My app height is set to 100%....
Hi Mike, sorry also following on from my last reply i've noticed more of my app appears when I make my browser window bigger.... so its as if i need to set my apps height to the size iv set from the code you provided for scrollbar....