Posted By

chrisaiv on 10/27/08


Tagged

textarea as3


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

THEPWN3R
tspitzr


AS3: Hiding TextArea Border


 / Published in: ActionScript 3
 

If you ever need to hide the border found in TextArea, just do this. textArea.setStyle("upSkin",Sprite);

  1. import fl.controls.TextArea;
  2.  
  3. var ta:TextArea = new TextArea();
  4. ta.x = 0;
  5. ta.y = 0;
  6. ta.width = 300;
  7. ta.height = 300;
  8. ta.text = "Hello World";
  9. ta.setStyle("upSkin",Sprite);
  10. addChild( ta );

Report this snippet  

You need to login to post a comment.