开发者

How do I get rid of the blue focus rectangle of a flash component?

开发者 https://www.devze.com 2023-01-29 03:26 出处:网络
I burnt so much time on a costume 开发者_StackOverflow社区made component which extends NumericStepper.

I burnt so much time on a costume 开发者_StackOverflow社区made component which extends NumericStepper. Adobe should be ashamed.. The flash component quality is poor.

Now I'm at stage that all I try to do is to disable the numericStepper's focus rectangle.

I haven't found a thing that works, all of the solutions I came across were Flex related. To clarify : this is a pure flash ac3 project.. no flex involved.

I've tried to mess with all the component's Focus related properties and functions with no result.

Thank you very much, Mike


setStyle("focusAlpha", 0); //ActionScript
focusAlpha="0"             //MXML


Also another way focusThickness="0"


Try using:

focusRect = false;

in your class' constructor.

0

精彩评论

暂无评论...
验证码 换一张
取 消