You can also position the button on a resize event, making sure it is
always where it should be.
On 6/15/06, Daniel Cascais <[EMAIL PROTECTED]> 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
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/