actionscript

Flash – ComboBox – Green Halo (won’t disable if you load into another swf bug)

Thursday, September 17th, 2009 | actionscript, programming | 2 Comments

If you have a combox in a swf, and load that swf into a wrapper swf, it’s POSSIBLE the green halo will stick around long after you scroll and make a selection.

Simply add this to your actionscript:

yourComboBox.drawFocus = “”;
yourComboBox.dropdown.drawFocus=”";

That should disable it. There. That’s a headache I hope I can spare you. I can’t tell you how long I worked with “_focusrect” and “focusRectEnabled” before find that solution.

FTD

Popularity: 17% [?]