Flex 3 - Scroll bar issue

Posted by Emma on Stack Overflow See other posts from Stack Overflow or by Emma
Published on 2009-10-07T08:32:43Z Indexed on 2010/03/16 15:31 UTC
Read the original article Hit count: 403

Filed under:
|

Im currently learning Flex, and Im having the hardest time getting scroll bars to work. In short Im pretty much just making a giant form for users to fill out, contained within a viewstack component, the user will type up information in one view, and it will be displayed in the other. But right now in the first canvas i have components that run of the screen and flex doesnt seem to automate a scroll bar, so i added in 'verticalScrollPolicy="on"' to my canvas, now while it gives me a scroll bar, it gives me an empty scroll bar, I still cannot move it up or down, meaning components are still trapped off the bottom of my screen. Im I missing something amazingly simple?

Edit - Sorry, Im using Adobe Flex Builder 3, and the components it lets you drag in. http://img12.imageshack.us/img12/218/problem1f.jpg This is a picture of the problem, and i guess relavent code would be.

 <mx:Application xmlns:mx="adobe.com/2006/mxml"; layout="absolute" width="830" height="835"> 
<mx:ViewStack x="10" y="72" id="viewstack1" width="790" height="751" >

<mx:Canvas label="Design Mode" width="100%" height="100%" verticalScrollPolicy="on" horizontalScrollPolicy="on" >

(Components inside)

</mx:Canvas>

Sorry if Im using this site wrong, still very new

© Stack Overflow or respective owner

Related posts about flex

Related posts about scrollbar