set a few properties on your vbox
<mx:VBox width="100%" height="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off"/>David.
it worked for me, thanks!
I need to set verticalScrollPolicy="off" for a lot of Vbox, can i do it by using Style or other solution ?
You can't do it through style, Probably the best way is to have a custom component that has the scrollpolicies off then always use that component. You can always iterate through the application and set every vbox at runtime but thats not really efficient.
so if you have a component noScrollVBox.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" verticalScrollPolicy="off" horizontalScrollPolicy="off"/>set a namespace in the application header<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600" xmlns:local="*">then do a global replace mx:VBox with local:noScrollVBoxDavid.