| Example |
var textArea = pseudo.TextArea.create(this, "textArea", 1);
textArea.setSize(100, 100);
//Apply the skin to the text area
textArea.setLook(pseudo.look.XPLook.getInstance());
//Set some default text
textArea.setText("Can edit ");
//Calling these functions will finally draw the component
textArea.update();
textArea.draw();
// This code will draw the text area using XP look and feel skin.
// Please notice that you should always use some skin to create the component,
// this can be done like in this example, and the skin will be complied into the swf file,
// or you can use another technique and load the skin at a run time.
|