Default to unselectable text.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@250 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -48,6 +48,7 @@ public class FloatingTextAnimation extends Sprite
|
|||||||
text :String, textArgs :Object = null, duration :Number = 1000, dy :int = -10)
|
text :String, textArgs :Object = null, duration :Number = 1000, dy :int = -10)
|
||||||
{
|
{
|
||||||
var tf :TextField = TextFieldUtil.createField(text, textArgs);
|
var tf :TextField = TextFieldUtil.createField(text, textArgs);
|
||||||
|
tf.selectable = false;
|
||||||
tf.x = -(tf.width/2)
|
tf.x = -(tf.width/2)
|
||||||
tf.y = -(tf.height/2);
|
tf.y = -(tf.height/2);
|
||||||
addChild(tf);
|
addChild(tf);
|
||||||
|
|||||||
Reference in New Issue
Block a user