Hi, I'm not Michael, but I can still give it a try ;)
In a class where you extend the Panel, you could add something like
this rough example:
Blah blah blah…
private function creationCompleteHandler( event:Event ) : void
{
var myButton : Button = new Button();
this.rawChildren.addChild( myButton );
myButton.addEventListener( MouseEvent.CLICK, myButtonClickHandler );
}
Daniel
On 6/15/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> Hey Michael Schmalle,
>
> Since you're one of the component guru's here, I was wondering if you
> had an example of how to place an icon button in the header of a
> panel. I want to have a panel that the user can pin to keep it
> visible at all times. I suppose that I could subclass a titleWindow.
> I just haven't had any experience with this yet. Any thoughts that
> you could share would be greatly appreciated.
>
> Thanks,
> Tim Hoff
>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>
>
--
Daniel Cascais
Tel: +56 (0)2 4589495
Cel: +56 (0)9 9417355
------------------------ 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/