Create actionscript_flashmx
This commit is contained in:
12
a/actionscript_flashmx
Normal file
12
a/actionscript_flashmx
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
_root.createTextField("mytext",1,100,100,300,100);
|
||||||
|
mytext.multiline = true;
|
||||||
|
mytext.wordWrap = true;
|
||||||
|
mytext.border = false;
|
||||||
|
|
||||||
|
myformat = new TextFormat();
|
||||||
|
myformat.color = 0xff0000;
|
||||||
|
myformat.bullet = false;
|
||||||
|
myformat.underline = true;
|
||||||
|
|
||||||
|
mytext.text = "Hello World!";
|
||||||
|
mytext.setTextFormat(myformat);
|
||||||
Reference in New Issue
Block a user