AS3: Hiding TextArea Border


/ Published in: ActionScript 3
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.