FlexTip - Stop displaying Focus

Thursday, May 29th, 2008
FlexTip - Stop displaying Focus

Here is quick Flex Tip. If you don’t want to display focus rectangle on pressing TAB key, you should use focusEnabled = false;
It’s quick solution for 1 component, but if you want disable focus for all components in your application just use focusManager.deactivate();

That’s all, hope it helps to anyone…

New: Thanks to Marc Hughes for pointing this out:

Instead of focusManager.deactivate(); use focusManager.showFocusIndicator=false;

AddThis Feed Button

This is some text prior to the author information. You can change this text from the admin section of WP-Gravatar  I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets. Read more from this author


tagged under: .

ABOUT THIS AUTHOR

I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets.

Get a Trackback link

3 Comments


  1. Marc Hughes
    Visit Site
    May 29th, 2008

    Please don’t do that, it screws up the web for people using screen readers and Flash already has a hard enough time in that area without people purposefully mucking it up.

    You probably actually want:
    focusManager.showFocusIndicator=false;


  2. cazlo
    Visit Site
    June 25th, 2008

    Fla Components providing Flash Based XML Components like FLV Player for better video streaming, and XML Flash Gallery Components for the Online Portfolio, Flash Menus, Rendering Objects & more..

    For More Information Visit http://www.flacomponents.com


  3. Dave
    Visit Site
    June 26th, 2008

    Much like Marc said, whilst this is a neat trick, it does to lead problems on various OS/browser/flash version combinations.

    Try to avoid the use of this using:
    focusManager.showFocusIndicator=false;

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This site is using OpenAvatar based on
Images is enhanced with WordPress Lightbox JS by Zeo
Clicky Web Analytics