Hey,

Thanks for the reply. I was about to have a hernia. I've snooped through as much of this component as I'm willing to bare.

If you mean this:


tree.addEventListener('itemRollOver', treeListener);
tree.addEventListener('itemRollOut', treeListener);


treeListener.itemRollOver = function(evt:Object)
{
   evt.target.setStyle("useRollOver", false);
}
treeListener.itemRollOut = function(evt:Object)
{
evt.target.setStyle("useRollOver", true); }



It really doesn't work very well. The custom event handler responds after the default behaviour has been triggered.


How can it be this complex to just stop the rollover for disabled elements :'(


J



Andrey Ermilkin wrote:

In the itemRollOver event listener set style property "useRollOver" to
false. Set it back to true inside itemRollOut listener.

Best regards,
Andrey Ermilkin

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to