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. <[email protected]> wrote: > 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. > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Omar M. Fouad - Adobe Flashâ„¢ Platform Developer www.omar-fouad.net Cellular: (+20) 1011.88.534 Mail: [email protected] This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

