[Flashcoders] AS3: Custom button with text label not working perfectly

2009-01-17 Thread Alexander Farber
Dear flash coders, I'm struggling since a week already with several elements in my application not acting as I want them to do. And they all could be reduced to a rectangle button which has a TextField on top of it and which should lighten up on a mouse over and scale down on a mouse down event.

RE: [Flashcoders] AS3: Custom button with text label not working perfectly

2009-01-17 Thread Cor
Alexander, I set MyButton.mouseChildren= false; Kind regards Cor ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] AS3: Custom button with text label not working perfectly

2009-01-17 Thread Cor
@Alexander, trace(this.name, event.target.name); you will notice that this refers to root1 and event.target to the sprite HTH Cor ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] AS3: Custom button with text label not working perfectly

2009-01-17 Thread Cor
button with text label not working perfectly Thank you Cor that was it! On Sat, Jan 17, 2009 at 1:55 PM, Cor c...@chello.nl wrote: MyButton.mouseChildren= false; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com

Re: [Flashcoders] AS3: Custom button with text label not working perfectly

2009-01-17 Thread Alexander Farber
Wow that was the missing piece, I've just fixed a lot of annoyances in my program :-) On Sat, Jan 17, 2009 at 1:55 PM, Cor c...@chello.nl wrote: MyButton.mouseChildren= false; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] AS3: Custom button with text label not working perfectly

2009-01-17 Thread Alexander Farber
Thank you Cor that was it! On Sat, Jan 17, 2009 at 1:55 PM, Cor c...@chello.nl wrote: MyButton.mouseChildren= false; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders