Have you fixed the canvas height in which you are adding many buttons...???
If you have fixed the height of the canvas....Remove the fixed height of the canvas and give it to another container enclosing your canvas say a VBox
container and fix the height for VBox and make the canvas to extend to its full height without scrolling...
So the structure should be something like below..
<mx:VBox verticalGap="0" width="100%" height="400">
// Your dynamic buttons are added here...Here this should should not be scrollable ..but your VBox should be scrollable so that you can see
// all the contents..
Hope you got my point ...
You were spot on Bhaskar....
Actually i had set the height of the canvas to "100%". I have removed it now and it is working fine:)
Thx a lot...
I owe you a treat Bhaskar. U helped solve a lot of flex problems..
I am very glad that the solution worked for you....
Defenitely I will take a treat then...:)