[flash5] how to trigger all numpad keys?

Hi all,
I'm not familiar with flash actionscript, but I need to
update an old
flash5 application that used buttons and the attached code to
trigger
events:
on (keyPress "<right>") {
some action here;
The example above triggers the right arrow key.
I would like to trigger all numpad keys but If I use
something like:
on (keyPress "7") {
some action here;
I can't use the key 7 on the keyboard in input fields.
When I type 7 in an input field the keypress is ignored.
Is there a way to force the keypress to use the specific key
7 on the
numpad and not the 7 key from the keyboard?
I need to modify it for flash5 and I'm not able to rewrite
the whole thing
to work with CS3 and actionscript 3.0.
Any help is really appreciated.
tony

> Just add this code to a main timeline actions layer
separately from any buttons--it is dedicated to the keypad. You can
still add code for the same actions to whatever on-stage buttons
you want.
Hi Ned,
the problem here is that the keypress action should control
the button
content (rotate the button itself).
I added the "on (keypress)" action to the button and when I
press the
related key on the keyboard, the actions are triggered on the
same buttons.
I have at least 100 buttons on the stage and every button
behaves the same
way: I select a button and then I rotate it using the
keyboard.
How can I obtain this using your code on the main timeline?
Thanks again and again ;).
tony

Similar Messages

  • How to display all important keys in the menu at runtime...?

    Dear All.
    I need a urgent help from forms guru's,my requirement is i need to display all the necessary keys on the menu option i.e keys(if you press ctrl+F1) at forms runtime.if you see only un necessary keys are displayed instead of the very basic keys like Enter Query and Execute Query. how can i display those keys. see the below unwanted keys which showing default.
    Function Key
    Cancel Esc
    Clear Field/ITem Ctrl+u
    Delete Backward Delete
    Delete Backward Backspace
    Display Error Shift+F1
    Left Left
    Return Enter
    Right Right
    Show Keys Ctrl+F1
    i have tried numurous way to do so but at last i cound't.
    i need to display something like
    Enter Query F7
    Excute Query F8
    Sace F10
    it would be great if anyone can give me the idea. i have refered many document and i have changed all the posibilities in frmusw.res file through terminal.
    Thanks in Advance

    Matthew,
    Please see this post:
    https://discussions.apple.com/message/24421822#24421822

  • How To Record All Keyboard keys

    Hi,
    Plz help me to know how to program a java application which can record all the keys which pressed and user dont find out that its recording his keys for example when he is typing a text

    amirmaddah wrote:
    Hi,
    Plz help me to know how to program a java application which can record all the keys which pressed and user dont find out that its recording his keys for example when he is typing a texthi,
    i mean that, you what to trace what s/he is typing... and whom....
    oh grt...
    you are trying to hi-jack, am a right..
    here is the tips.. take it...: &#9688;Q?&#9561;{?&#8319;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to generate all possible keys for DES algorithm

    Hello every one,
    I want to generate all the possible key combinations for the DES algorithm 56-bit "actuallly 64 but the last 8 bits are just padding", so can anyone plz help how can i do that? or give me article or something that might help me?
    Thanks in advance,
    Amr M. Kamel.

    I know that but who said that it will be one
    processor it will be on distributed and clustered
    environment :). I just want to know how to generate
    the keys "or write binary".
    Thans again for your helpA cluster of 2285 machines will still take a year! The simplest algorithm is to just count from 0 to 2^56 .
    If you are thinking of cracking DES then there is a Book I have on my shelf 'Cracking DES' published by the 'Electronic Frontier Foundation' ISBN 1-56592-520-3 . It contains the C code and describes the hardware used. The hardware cost was about $100,000 and it cracks DES in about 3.5 days.
    Assuming Moore's law ( http://en.wikipedia.org/wiki/Moore's_law ) applies then it should now take about much less than a day and cost much less than $100,000. BUT - it will take a long time using basic computers.

  • How do you access numpad keys on a macbook pro retina (mid 2012) keyboard while using bootcamp and windows?

    There are no function overlay for numpad on the keyboard and there are backlight controls where the numpad on/off was on previous macbook pro

    Hello gerwintiemens,
    I recommend resetting your SMC and your PRAM. Perhaps even a safeboot as well.
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/ht3964
    About NVRAM and PRAM
    http://support.apple.com/kb/ht1379
    Mac OS X: What is Safe Boot, Safe Mode?
    http://support.apple.com/kb/ht1564
    All the very best,
    Sterling

  • How to get all the values from a HashMap? thanks

    hi
    can anyone tell me how to get all the keys and their values contained in a HashMap? thanks

    thanks to u all for ur response, i gues if i need to get both keys and values, i need to use keySet() to get a set of keys first and then using each key to get value. is there any other faster way to get both of them (key and value)? thanks again

  • How can i distingush Enter key from Numpad-Enter(Enter key on numpad)?

    How can i distingush Enter key from Numpad-Enter key(Enter key on numpad)?
    Enter KeyEvent information is identical with Numpad-Enter key(Enter key on numpad) KeyEvent.
    ( keyChar, keyCode, ..etc)
    But i must differentiate these two Enter keys.
    How can i make it?
    Thank you for your answer ahead.

    The keyCode for 1 in the numeric pad is 97 the other 1 is 49, the same with 2 98/50. The same with all other numeric keypad.
    Noah

  • How to search for a pattern string in entire registry and delete all the keys and subkeys that contain the pattern (C# or VB)?

    I want to search for a pattern string in the entire registry and need to delete all the keys and sub-keys that contain the pattern. How can I implement this in VB Script or C#? Appreciate if you can give some sample examples. Now every time, I am manually
    searching for the pattern in registry and deleting one by one.
    Thanks Prasad

    There is no built in way to do this. You'll end up having to enumerate all keys and values in the entire registry and comparing each one for a pattern using Regex or similar.  This is going to be really slow but there isn't much else you can do about
    it (other than parallelize the enumeration).  Also note that you won't have permissions to all keys for read and/or write access so you'll need to skip over those using exception handling.
    Michael Taylor
    http://blogs.msmvps.com/p3net

  • How to extract all keys (PK, FK) and constraints from the schema?

    hi,
    How to extract all keys (PK, FK) and constraints from the schema?Thanks!

    I have no idea about any tool which only extract the DDL of constraints.
    In oracle 9i or above you can use DBMS_METADATA to extract DDL of a table which also shows contraints defination.
    You can take the tables export without data and use databee tool to extract the DDL.
    www.databee.com

  • How Do I Customize the Key Combination to Cycle Through Windows in Reverse in all Applications?

    How do I customize the key combination to cycle through windows in reverse in all applications?  I want to be able to change the global setting for Command+~ (Cmd+Shft+`) to something more desireable.  I could NOT find a way to do this in Systems Preference -> Keyboard -> Keyboard Shortcuts since there is not a menu selection "Cycle Through Windows in Reverse".  I then went and looked in the plists DBs of Finders resources hoping to find a setting I could override.  I was quite supprised, as well as some of the MAC gurus in the office, that there was not an easier way to override cycling through windows in reverse on a MacBook - the most user friendly and accessibility aware computer on the market:)
    Here is my MAC software info.
    System Version:  Mac OS X 10.6.7 (10J869)
    Kernel Version:  Darwin 10.7.0

    I don't know of any way to have a separate commandkey combo for the reverse cycle function.
    From the Help pages for OS X 10.6.7 ("Using global keyboard shortcuts") -
    NOTE: You can create keyboard shortcuts only for exisiting menu commands.
    Since the 'reverse' cycle command is not an existing menu item, creating a separate key combo for it doesn't seem possible. Apparently the 'reverse' cycle command is a fixed one, internally defined as a mod of the normal cycle command invoked by adding Shift to its key combo.
    There may be a way to achieve what you want via a two-step process: write an AppleScript that will invoke the 'reverse' key-combo set, then link the activation of the AppleScript to a key combo of your choosing. Not sure if this is even possible, though - usually AppleScript activation via keyboard would be set up via an FKey.
    I can understand wanting to share the RSI risk evenly between both hands, or even to unload the left hand if that is desirable. However, apparently a two-key combo can't be done for the reverse cycle function. Is a three-key combo not possible? ...meaning a two-key combo on the right (Command plus something) for normal cycling, adding Shift for reversing?
    One caution about changing keyboard command combos - it's very easy to accidentally set up a conflict with a another existing commandkey set. FWIW, most, if not all, of the mnemonic and easily-reached letters are already used. In this vein, the Keyboard Shortcuts page of the Keyboard prefs pane shows such conflicts via a yellow caution triangle next to the conflictors.

  • My volume key not working volume increase automatically, how to mute all audio

    my volume key not working, volume increase automatically if i go to audio settings i can adjust, but  again volume increase automatically , how to mute all audio

    Did you already try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comeback again?
    If this does not boring back a working volume control, and to rule out a software issue, set it up as new device, explained here:
    Use iTunes to restore your iOS device to factory settings - Apple Support
    If still no luck, you'll have to get it checked by visiting an Authorized Apple Service Provider or Apple Store next to your place.
    iPhone - Contact Support - Apple Support

  • HT4972 how to back up all the key element of my ipad touch?

    how to back up all the key element of my ipad touch?

    What exactly do you mean by all key elements? You can check this page on how to back up your iPod touch.
    http://support.apple.com/kb/HT1766

  • How to trigger a event when WBS gets changed in Cj02

    Hello,
    I have a requirement where I need to send create an idoc and send the idoc to external system when WBS is created or changed.  Currently, I have the following setup:
       - I have created a YBUS2054 as a subtype of BUS2054 using SWO1
       - YBUS2054 has been delegated to BUS2054
       - created an CHANGED event in the YBUS2054. This event is implemented and then released
       - created a type linkage (object type=YBUS2054, event=CHANGED, receiver type null, and receiver function module = zz_create_wbs_idoc) using SWETYPV. This function is supposed to create an idoc when CHANGED event occurs. I just don't know how to trigger the event to occur.
       - all the port, define idoc type, logical system, and etc are setup
       - when I try to create an entry in "Event for Chagne Document" using SWEC with change doc object=PROJ, business object type = YBUS2054, with on change, I get "Key for change doc object PROJ and business object type YBUS2054 are incompatible".
    I tried various configurations, and I was not successfully in creating an event on CHANGED
    can you please advise what I am missing in getting the changed event to trigger?
    Thank you in advance,
    Shawn

    Hi,
    If the change doc doesnt exist, check if you can create an event using BSVW.
    Also use the event log to see if there are other sap standard events happening.
    I checked the package belonging to CJ02 to see if there is something useable, but didn't find anything: CN_PSP_OPR
    If there are no sap standard ways to get an event, you'll have to find a badi/enhancement spot and include some coding to start the event using fm SAP_WAPI_CREATE_EVENT.
    Kind regards, Rob Dielemans

  • BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?

    Hi All.
    I have this request.
    BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?
    We have jobs scheduled on BODS running smoothly and absolutely fine.
    But to check, i am logging into the admin console and check for the jobs status.
    I would like to have an email to be received from BODS after each job is finished.
    It could succuessful. Or it could fail.
    Whatsoever, i wish to receive an email alert as soon as a job is finished.
    Can anyone advise me as to whether this could be made possible.
    And if yes, how this could be done.
    Thanks for your help in advance.
    In BOE CMC / for webi / schedule / we find an option to send email for a job success or a job failure.
    Is there any option similar to that in BODS ?
    Also would like to know :
    how to use the smtp_to or mail_to functions ?
    how to set up the smtp server for this ?
    thanks
    REgards
    indu
    Edited by: Indumathy Narayanan on May 31, 2011 3:47 PM

    Hi.
    Since am new to this BODS. I need some help.
    I already have many jobs which are running absolutely fine.
    And when a job runs, and finishes, am able to see the trace saying
    e.g. :
    Job_abc is completed successfully.
    We got the smtp service activated for our test server.
    and we hae a group email id.
    I have put the details of the smtp server / ip address / and said apply restarted.
    The i created a simple test script as below :
    print (' Before email ' );
    smtp_to('abc@company_name.com', 'Job ' || job_name() ||' on ' || host_name() || ' has FAILED',
    ' the job has failed', 0, 0);
    print('After Email ');
    It does send a email to as per smtp_to whatever email is specified.
    But how to differentiate between a job success
    And a job which has failed.
    I wish to have a mail which says on the subject :
    'Job ' || job_name() ||' on ' || host_name() || ' has completed successfully'
    ==> IF it is a success
    OR
    'Job ' || job_name() ||' on ' || host_name() || ' has failed'
    ==> if it has failed
    How to make the system identify, whether
    to send a success message or a error message whatever
    Could anyone advise.
    thanks
    indu

  • How to trigger New page while using ALV with classes/oops?

    Hi All
    I am trying to print a report which has to show the data in two pages.
    I am using ALV with classes/oops.
    Though I am able to print the report but a new page is not coming. Whole of the data is coming in one single page.
    Please tell me as to how to trigger a NEW PAGE while using ALV with classes/oops.
    Please send some code samples also if available.
    Thanks in advance.
    Jerry

    using sort option you can do it. in case of grid/oo alv class ALV you can view that only in print mode/preview mode.
    in case of list you can view that directly.
    sort-fieldname = 'FIELDNAME'.
    sort-group = '*'  "triggers new page
    sort-up = 'X'.
    append sort to it_sort.

Maybe you are looking for

  • When sales order get cancelled

    Hi Gurus Please explain the  process when sales order is created for 10 QTY and production order released for 10 qty and all operations confirmed for 5 QTy & moved to FG remaining  5 no qty is in WIP, so then sales order get cancelled, and got anothe

  • Password-protected podcasts; does Podcasts app support?

    Now that a beloved podcast has gone behind a paywall, I'm in need of support for password protection in Podcasts app. The workaround in iOS5 was to enter the password on iTunes on the Mac, and the program would update to the Music app on the iPhone.

  • Explanation of how Iphoto works.

    Can someone please explain to me how iPhoto works as far as organizing photos and duplicating/converting photos. I have a bunch of photos in my photo file, and I would like to keep them all in one place (via iPhoto), but when I have experimented with

  • Trouble with Safari - Adobe CS4

    Hello, i'm a graphic designer and sometimes i have to run Photoshop and Illustrator CS4 at same time, by the nature of my work i always need to be connected. The problem comes when i'm running both CS4 Apps and safari because when i open a new tab in

  • Illustrator missing links when working on network drives

    Hi everyone, I've been experiencing this problem since several versions ago. Is only that now has become more apparent since our team have started to work collaboratively in the same files. Let me explain the problem. If I have an Illustrator file on