Re: [Flashcoders] link bar frustrating question

2009-04-22 Thread Glen Pike
Hi, I think Sprite / MovieClip may have a mouseChildren property which you can set to true / false, which I vaguely remember helped me before. Problem is you won't get any further mouse events from it unless you re-enable. Or, the other option is to remove the event listener for

Re: [Flashcoders] link bar frustrating question

2009-04-22 Thread Adrian Ionut Beschea
hi, if changing the text color on rollover is all you need you can set a hover css style for those textfields. no need to listen for rollover --- On Wed, 4/22/09, Glen Pike g...@engineeredarts.co.uk wrote: From: Glen Pike g...@engineeredarts.co.uk Subject: Re: [Flashcoders] link bar

Re: [Flashcoders] link bar frustrating question

2009-04-22 Thread Matt S.
What if the rollOut function looks like: private function onRollOut(e:MouseEvent):void { if(CurrentLink != e.currentTarget){ //change colors here of e.currentTarget } } that way it will only change color back if its not currently the CurrentLink.

Re: [Flashcoders] link bar frustrating question

2009-04-22 Thread Omar Fouad
Well, mouseChildren did not help. The only thing it helped was checking whether the e.target is enabled or not in the rollOut handler. According that, I change the color or not. Thanks folks for the replies. On Wed, Apr 22, 2009 at 1:13 PM, Matt S. mattsp...@gmail.com wrote: What if the

Re: [Flashcoders] link bar frustrating question

2009-04-21 Thread Dave Watts
this is a silly problem that, because it is silly, makes me nervous and frustrate at the same time. I've got a class (extends Sprite) that has embedded some MovieClips. Those MCs are actually containing textboxes with the name of the sections. for each MC

Re: [Flashcoders] link bar frustrating question

2009-04-21 Thread Omar Fouad
Thanks Dave but No It does not change anything same problem. On Tue, Apr 21, 2009 at 7:38 PM, Dave Watts dwa...@figleaf.com wrote: this is a silly problem that, because it is silly, makes me nervous and frustrate at the same time. I've got a class (extends Sprite) that has embedded some