开发者

Does mouseEnabled property cause Flash player to redraw the object?

So I made few text fields on the stage and launched the movie. It appears that when I turn on the "Show redraw regions" and try to click on the text field it shows it's redrawed.

When is set the mou开发者_StackOverflow中文版seEnabled property for this text field to false and try to click on the text field it doesn't show it's being redrawed.

By redrawing they mean what?


Probably because nothing happens upon a click if you set mouseEnabled to false, there's no way the textfield could have changed, so it doesn't need to be redrawn. If it is enabled, a click can have any number of effects (default or added yourself) so it needs to redraw the field to be sure.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜