I have 2 issues
My flex app consist of a panel with 2 VBoxes inside which are created programatically (appendChild)
This panel should take the full height and width of the canvas so that when the SWF is embedded into a web page, its HTML code defines the actual size of the app.
Problem is, it is showing with some margin around.
For the other issue,
One of the VBoxes called main will hold an arbitraty amount of content.
The other has a fixed size of just shows a couple of buttons.
The problem is that the content is enlarging the main VBox and no scrolls bars are shown
I want this VBox (Main) to remain the same size and just show a scroll bar if the content is larger.
1. How to have the wrapping extend to the full height and width with no margins
2. How to have the Main Vbox keep the same size regardless of the content and make it display a scroll bar if necessary ?
These VBoxes are dynamically generated
<mx:Panel width="100%" height="100%">
<mx:VBox height="100%" width="100%" id="main" />
<mx:VBox height="90" width="100%" id="bottom" />