There’s a bug in the file: There is currently no way to create an underscore because the hyphen character doesn’t change to an underscore when the Shift or Caps Lock key is pressed.
No, it’s a bug. You initialized the underscore character in numChar2_array (line 40 of KeyBoard.as), but didn’t implement it. It doesn’t make sense that the hyphen button remains a hyphen when the Shift button is pressed.
Here are some of the other bugs in KeyBoard.as: each of the four gotoAndStop() functions in shiftCapsSwitch() is missing a reference to the ‘btn’ clip.
Instead of this:
keyboardMc.keyShift1.gotoAndStop(1); keyboardMc.keyShift2.gotoAndStop(1);
keyboardMc.keyShift1.gotoAndStop(2); keyboardMc.keyShift2.gotoAndStop(2);
It should be this:
keyboardMc.keyShift1.btn.gotoAndStop(1); keyboardMc.keyShift2.btn.gotoAndStop(1);
keyboardMc.keyShift1.btn.gotoAndStop(2); keyboardMc.keyShift2.btn.gotoAndStop(2);
Thank you for such a nice file. I was wondering if I can add a key to clear individual or all text fields?
Thanks, I made the loop and it works fine. Great App,
Can the keyboard be used as an input device outside of your flash movie. IE: we have an interactive kiosk that is connected to Facebook. you select the like button, it opens another window to log in. Can the keyboard be used to input the information within that window?
- Has been a member for 2-3 years
- Won a Competition
- Item was Featured
- Author was Featured
- Exclusive Author
- Sold between 5 000 and 10 000 dollars
- Bought between 10 and 49 items
- Singapore
- Referred between 1 and 9 users
Rated 5 stars. I integrated this in one of the KIOSK projects in about 5 mins of time. great work.
- Has been a member for 3-4 years
- Exclusive Author
- Sold between 1 000 and 5 000 dollars
- Bought between 1 and 9 items
- Europe
- Referred between 10 and 49 users
Hi Great keyboard, wondering if theres an easy way to add @ to the default layout (without having to press shift)...
Thanks 
Hi,
Keyboard is working great until I start tweaking. I’m having trouble after I re-skin the keyboard with different button images. I’ve been careful not to disturb the various types of clips. Buttons are still buttons. MovieClips are still MovieClips.
I can’t figure out what I’ve disturbed because it is throwing these errors on the special keys. I appreciate any insight you can offer.
Thanks 
TypeError: Error #1009: Cannot access a property or method of a null object reference. at KeyBoard/specialKeyAdd()[F:\CLIENTS\author_fair\KeyBoard.as:292]DETELE KEY
TypeError: Error #2007: Parameter text must be non-null. at flash.text::TextField/replaceText() at KeyBoard/addChar()[F:\CLIENTS\Markham_Kiosk\KeyBoard.as:392] at KeyBoard/specialKeyAdd()[F:\CLIENTS\Markham_Kiosk\author_fair\KeyBoard.as:292]SPACE BAR
TypeError: Error #1009: Cannot access a property or method of a null object reference. at KeyBoard/specialKeyAdd()[F:\CLIENTS\author_fair\KeyBoard.as:292]
Hi and thanks,
Sorry for the slow reply. I’m busy on a kiosk project but now I have to get back to the keyboard.
I kind of solved my problem above for awhile. The fix didn’t make sense to me but here is what I did.
To achieve the look of the skin I had drilled into movieClip keyboard mc : key backspace : key big btn where there are 2 frames with the key big shape movieClip. Frame 1 is normal frame 2 is pressed. Same movieClip with different filters. To achieve the look of the skin the filters weren’t going to look the same so I duplicated the “key big shape” to “key big shape pressed” and swapped it into frame 2. That’s when I got all the errors.
Tracing the code it seemed to be getting confused between e.target and e.currentTarget which came out undefined around line 293 where it was passing itself to the addChar function, hence the errors. Putting the key shape btn instance back into frame 2 fixed the issue.
I’m having other issues with it now when I try to use it in multiple situations such as different frame areas where I’m setting the focus to different input textfields. Its getting kind of messy 
How can I send you my file?
Thanks, Craniac
If you click on my username http://activeden.net/user/stupidsimple you see an e-mail form at the bottom right of that page. Send me you e-mail address then I can send mine back, and then you can send the file.
Hi there!
Kudos for the great AS3 asset! Now here in all latin america we use the special character ñ and Ñ and tried putting it for another character but when I replace it it just gives me a blank key. Could you help me out?
Thanks
any chance to add auto complete???
I cannot run in Facebook AS3 API > FlashDesktopExample.fla
Scene 1, Layer ‘AS’, Frame 1, Line 10 1046: Type was not found or was not a compile-time constant: FocusEvent.
function setTFFocus (e:FocusEvent) { ...

246 Purchases
52 Comments