Campo Input de texto con fuente especial


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



Copy this code and paste it in your HTML
  1. var formaFont2 = new TextFormat();
  2. formaFont2.color = 0x000000;
  3. formaFont2.font = "F_carpetes";
  4. formaFont2.size = 10;
  5.  
  6. this.createTextField("txt_nom_projecte", 33, 235, 320, 82, 16);
  7. txt_nom_projecte.wordWrap = true;
  8. txt_nom_projecte.autoSize = true;
  9. txt_nom_projecte.embedFonts = true;
  10. txt_nom_projecte.type = "input";
  11. txt_nom_projecte.border = true;
  12. txt_nom_projecte.text = "Texto de prueba";
  13.  
  14. txt_nom_projecte.setNewTextFormat(formaFont2);

URL: www.after-hours.org

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.