|
-
Help Nedded
Hi,
I have made a virtual QWERTY keyboard in flash which can input text into text fields, I wanted to know does anyone know how to make the delete key action and clear the entire field action work by adding code to a button?
Below is an example of the code I am using on the normal keys, but I have had no luck on the function keys such as delete etc etc, can anyone help thanks.....
on(release){
textfield+="a";
}
-
'Backspace' button code as follows:
Code:
on(release){
if (textfield.length > 0) {
textfield = textfield.substr(0, textfield.length - 1);
}
}
'Clear All' button as follows:
Code:
on(release){
textfield = "";
}
----------
"Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." TERRY PRATCHETT
-
Thanks
Thank You! works just fine
-
Can you help me do that?
I've been trying to make a keyboard on flash with buttons that you click on and then you can type words into a text field. I'm just trying to make something simple.
Only a few words in a text field that were made by a mouse click on a button with the letter on it.
-
Can you, or some one els please help me make a keyboard like mesioned above? With out the back space??!!
I've been trying to make a keyboard on flash with buttons that you click on and then you can type words into a text field. I'm just trying to make something simple.
Only a few words in a text field that were made by a mouse click on a button with the letter on it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|