Thanks guys, That gives me enough to start with.
Best Regards, Tim --- In [email protected], "Jeremy Lu" <[EMAIL PROTECTED]> wrote: > > add the button to the titlebar would be a good choice (better than > rawChildren, since you don't have to worry about positioning it). > > > > On 6/16/06, Daniel Cascais <[EMAIL PROTECTED]> wrote: > > > > I sen't my reply to early... > > > > It would be something like this: > > > > private function resizeHandler( event : ResizeEvent ) : void > > { > > myButton.x = this.width - myButton - 6; > > myButton.y = 6; > > } > > > > On 6/15/06, Tim Hoff <[EMAIL PROTECTED]> wrote: > > > How would you suggest positioning the button in the header? > > > > > > --- In [email protected], "Daniel Cascais" > > > <daniel.cascais@> wrote: > > > > > > > > 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 <TimHoff@> 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > 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 > > > > > > > > -- > > 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 > > > > > > > > > > > > > > > ------------------------ 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/

