Avoiding cursor change over dynamic text fields in

2019-06-16 05:25发布

I have a dynamic text field inside a MovieClip symbol. Whenever the mouse pointer is hovered over the symbol, the cursor changes to the I-shaped text editing cursor. This may be a very stupid question, but is there any way to avoid this? Not even using mouse.hide() keeps the "I" cursor from appearing.

3条回答
神经病院院长
2楼-- · 2019-06-16 05:38

For CS4: In the properties box is an icon(little button) that is available when you have the text field selected, which you can toggle on and off to determine if the text is selectable. This button is located below anti-alias in the properties box.

查看更多
疯言疯语
3楼-- · 2019-06-16 05:44

mc.selectable = false;

查看更多
放荡不羁爱自由
4楼-- · 2019-06-16 05:51

Have you tried setting the TextField's selectable property to false? This will prevent the user from dragging the mouse to select the text (thus they can't copy it to the clipboard), but I believe that should also prevent the cursor from changing.

查看更多
登录 后发表回答