View Full Version : Adding components result in a highlight border???
wintzell
06-02-2006, 03:11 PM
When I add a component such as a combobox to my flashmovie something strange happens; A green border comes around the highlighted textboxes when I tab between the different textfields. It isn't around before I added the component. I really like to get rid of the border around...
Any sug.?
CyanBlue
06-04-2006, 04:59 PM
Howdy and Welcome... :)
I have never seen a green border in Flash... I've seen many yellow borders however... That's really weird...
At any rate, you might want to look up the _focusrect from the Flash manual... I think that's going to solve your problem... ;)
Oh, no need to bump the thread... That might actually be bad for you cuz people will think that you've got your answer...
wintzell
06-04-2006, 05:19 PM
Howdy and Welcome... :)
I have never seen a green border in Flash... I've seen many yellow borders however... That's really weird...
At any rate, you might want to look up the _focusrect from the Flash manual... I think that's going to solve your problem... ;)
Oh, no need to bump the thread... That might actually be bad for you cuz people will think that you've got your answer...
But I did got an answer? :rolleyes:
Anyways, according to the flashmanul _focusrect would be the solution, but it doesn't work...
I made an simple flashmovie to show you my problem. The first is without a combobox, the other one with. When you tab on the one before the combobox is added it just tabs to my satisfacion. And after the combox is added the nasty Halogreen comes around the inputfields... And even if you get rid of the combobox it still makes the Halogreen border around (Edit: if you remove it from the Library the green border dissapears). GHAA getting crazy over here!!
wintzell
06-04-2006, 06:14 PM
Thanks for the "_focusrect = false" tip! It got me something to search with and I found this:
TextField.prototype.onSetFocus = function(){
_focusrect = false
}
Which solved my problem!
Thanks!!!
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.