And it turns out that both work fine unless you are using a custom theme swc with an non-actionscript skin for the title bar. That exposes a bug in the Panel code that can be worked around as follows:
<mx:Panel id="foo" creationComplete="foo.back_mc._visible = false"...> --- In [email protected], Andy Goodfellow <[EMAIL PROTECTED]> wrote: > You can also use <mx:Panel headerHeight="0"></mx:Panel> > > -Andy > > On 5/31/05, alex_harui <[EMAIL PROTECTED]> wrote: > > > > Did you try setStyle("headerHeight", 0); > > > > That's supposed to hide the header. > > > > > > > > ------------------------------ > > *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]<flexcoders- [EMAIL PROTECTED]> > > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/>. > > > > 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/

