Copy link to clipboard
Copied
I am working on a project in Flash Professional (AIR export) that loads an external SWF. The loaded SWF, which loads into the main SWF, has many radio buttons and radio button groups. Buttons have no label, instead using text box labels above each radio button choice.
So, the secondary SWF runs in the primary SWF's timeline/stage.
Would like to eliminate the Focus Rectangle which appears when a secondary SWF's radio button is chosen (clicked). Have tried a number of different scripts in AS3 in the secondary SWF, like radiobutton1.focusRect = false; Nothing has prevented the focus rectangle from displaying. In the main SWF tried this.focusRect = false hoping to disable all focus rectangle activity on the main stage. Didn't work either.
Not sure what to try to get rid of these focus rectangles.
Any suggestions appreciated.
Copy link to clipboard
Copied
i can't even get a focus rectangle to show up unless a tabIndex is assigned and the tab key is pressed and even that is easy to suppress. what are you doing that causes a focus rect to show?
Copy link to clipboard
Copied
Hi,
Not doing anything extraordinary. Debugging on a Win 8.1 desktop, clicking a radio button in the group, first time only. Once any button in the group is clicked and the focus rectangle appears, changing choice by clicking another radio button in the group does not produce a focus rectangle. Odd behavior?
I did have some success at least getting that first focus rectangle to display as centered over the button by going into the component's locked skins and deleting all states' focus rectangle skins. Doesn't prevent it from appearing as noted above, but the focus rectangle is now centered instead of off to the side. Label setting in component is "top".
Copy link to clipboard
Copied
i don't see that.
Copy link to clipboard
Copied
Not sure why I am seeing this. Maybe, I changed a radio button component skin setting by accident?
Copy link to clipboard
Copied
that could do it.
why don't you test with a standard radio button?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now