-
Hi guys,
I have a very minute problem, please help. I am making a movie where one can enter data in the text field provided. The problem I am facing is I want to give a backspace action to the key backspace, that is if I enter something in the flash movie and I want the last to things deleted I can press backspace and delete them.
I have achieved this but with other keys say for example when I assign <z> to perform this function it does it but as soon as I assign <backspace> it does not work kindly help the code is below
on (keyPress "<Backspace>") {
trace (textbox);
tellTarget ("_root") {
gotoAndPlay (_currentframe+1);
}
}
Rohit
-
well, it involves some unicode stuff, try this:
on (keyPress "\u0008") {
trace (textbox);
tellTarget ("_root") {
gotoAndPlay (_currentframe+1);
}
}
Rohit
good luck!
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
|