May 4, 2009

FLASH: Remove Yellow border around buttons (TAB)

This did the trick:

Code:

stage.stageFocusRect = false;
_root._focusrect = false;

Whenever a web page would open from my flash the button will still have focus when changing windows back to the flash. This fixed that:

Code:

stage.addEventListener(Event.ACTIVATE, activated)

function activated(evt):void {
stage.focus = null;
}


SOURCE LINK

No comments: