hi,
i wanted to script my textbox in such a way that when username’s character is more than 10, it will display the character till the 10th character but i dont know how to script it that way. Pretty stuck at it…
username is a variable i set at the previous frame to capture what the user type in the field and when they press enter, it will go to the 2nd frame and this is the code i stop at..
[COLOR=DarkSlateBlue]username = welcomeUser_txt.text
if (username.length>=10) {
// by right is to show the max character of the username, up to 10.
}
[COLOR=Black]thanks in advance,
everland[/COLOR]
[/COLOR]