hi

In my example i'm resizing a panel's width from 300 to 0 (and vice 
versa). However i've got one issue. I sometimes see a ghost of the 
panel's title still there. somekind of refresh issue? how do i 
remove it.
thanks

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
        <mx:Script>
        <![CDATA[
                import mx.effects.*;
                
                private function dothis():void
                {
                        var resize1:Resize = new Resize(panel1);
                        resize1.duration = 300;
                        resize1.widthTo = (panel1.width == 0) ? 
300 : 0;
                        resize1.play();
                }
        ]]>
    </mx:Script>
    <mx:Panel id="panel1" title="HelloWorld" width="300" 
height="200"/>
    <mx:Button label="resize" click="dothis()"/>
</mx:Application>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to