Oh, it's ugly. But, no need to spin your wheels on things that may already be fixed. :)
-TH --- In [email protected], "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Tim, > > 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" <mbhaque@> 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. > ------------------------ 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/

