hehe nice, my idea was to set the titleBar.minWidth to 0.
Consequently it didn't work :)
Peace, Mike
On 6/19/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
Hi,
I've noticed some interesting behavior with Beta3 like this as well. For now, you could use a work-around like this:
<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 ();if (panel1.width != 0){panel1.title = "";} else {panel1.title = "Hello World";}
}
]]>
</mx:Script>
<mx:Panel id="panel1" title="HelloWorld" width="300"
height="200"/>
<mx:Button label="resize" click="dothis()"/>
</mx:Application>-TH
--- In [email protected], "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> 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>
>
--
What goes up, does come down. __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] Re: Flex2B3 - Resize effect problem Tim Hoff
- Re: [flexcoders] Re: Flex2B3 - Resize effect problem Michael Schmalle
- [flexcoders] Re: Flex2B3 - Resize effect problem Tim Hoff
- Re: [flexcoders] Re: Flex2B3 - Resize effect... Michael Schmalle
- [flexcoders] Re: Flex2B3 - Resize effect problem bhaq1972
- RE: [flexcoders] Re: Flex2B3 - Resize effect problem Jason Szeto
Reply via email to

