Hi everybody,

I am trying to increase the height of my application dynamically on 
click of a button. But when this happens the Vertical Scroll Bars 
dont show up.

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
        
    <mx:Script>
        <![CDATA[
        
        private function clickHandler():void
        {
                this.height = this.height + 500;
                
        }
        ]]>
    </mx:Script>

<mx:Button label="Increase Application Height by 500" 
click="clickHandler()"/>
<mx:Label text="{this.height}" click="clickHandler()"/>
</mx:Application> 

thanks
Mustafa

Reply via email to