私が代わりにその親にこのresposiblityを渡すのでスクロール可能becodeするために、そのボックスを取得する方法、それはコンテンツだため、動的なサイズ(すなわちwidth100%)ボックスの大きさが十分でない場合。私は箱がそのスペースの大きさだけ大きくなるようにしたい。アドビフレックス:スクロールボックス
I.e.次の例では、ブラウザウィンドウのサイズを変更してテキストボックスが縦にはならない場合、アプリケーション全体ではなくスクロールバーを表示するにはどうすればよいですか?
<?xml version="1.0"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
<mx:HDividedBox width="100%" height="100%">
<mx:VBox id="box1" backgroundColor="green" height="100%" verticalScrollPolicy="on" clipContent="true">
<mx:TextInput width="200"/>
<mx:TextInput width="200"/>
<mx:TextInput width="200"/>
<mx:TextInput width="200"/>
<mx:TextInput width="200"/>
<mx:TextInput width="200"/>
</mx:VBox>
<mx:Box backgroundColor="red" width="100%" height="100%">
</mx:Box>
</mx:HDividedBox>
</mx:Application>
verticalScrollbarPolicy autoとonで試したが、うまくいかなかった。
ありがとうございます。これはそれを解決しました! –