I am writing getCode for smaller numbers and everything works until two
numeric digits together are entered by the user:

 

this.onKeyDown = function() {

            // 0 (frm 1)

    if (Key.getCode() == 48){

            this.gotoAndStop(1);

            // 1 (frm 2)

              } else if (Key.getCode() == 49){

            this.gotoAndStop(2);

 

and the list goes on until the user imputs 10, 11, 12 thru 15.

 

How would I write this, when the keys are pressed for the larger
numbers? 

 

Any help would be great.

 

Thanks, Sanja

_______________

Sanja Mirkovich-Hamon

 

Corporate Marketing

Graphic Designer/Technical Illustrator

 

 

Weatherford Intl. Inc.

520 Post Oak Blvd., Suite 700

Houston, Texas 77027

713-386-8941 direct

[EMAIL PROTECTED]
<BLOCKED::mailto:[EMAIL PROTECTED]> 

 

NOTICE: This e-mail may contain information which is CONFIDENTIAL. If
you are not the intended recipient, you must not read, peruse, use,
disseminate, distribute or copy this e-mail or attachments. If you have
received this in error, please notify us immediately by return e-mail,
Thank you.

 

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to