KeyboardEvent not being triggered

Hi, I'm a Flash newbie and I'm trying to get some keyboard action going. I've followed some tutorials, but nothing seems to work. To test it I created a brand new fla file and added the following code in the first frame:
import flash.events.KeyboardEvent;
trace ("Add listener");
this.addEventListener(KeyboardEvent.KEY_DOWN, eventKeyDown);
function eventKeyDown(event:KeyboardEvent):void {
     trace("Key down: " + event.keyCode);
The first trace ("Add listener") shows up in the debug output, but no matter which keys I press I can't get the function to be called. Am I doing it wrong?

Assign the listener to the stage, not this...
stage.addEventListener(KeyboardEvent.KEY_DOWN, eventKeyDown);
and be sure to Disable Keyboard Shortcuts via the Flash Player's Control menu options

Similar Messages

  • Overhead user exit (COOM0001) not being triggered for specific plant

    Hello all,
    I was wondering if anyone came across this situation before. I activated user exit COOM0001 for overhead calculation. This user exit is triggered when I create PCE for plant A but not plant B.
    I can't figure out why it is not being triggered for plant B at all. I put a break point in function module EXIT_SAPLKASC_001, EXIT_SAPLKASC_002 and EXIT_SAPLKASC_003 and the system didn't stop in anyone of these function module.
    Any help is greatly appreciated.
    Regards,
    Cassandra

    Hi
    It seems that you are a Functional Consultant.
    Please follow the following simple step for any userexit to see where all its been called.
    1. Go To T. Code SMOD
    2. Enter the Exit name COOM0001
    3. Click on the COMPONANTS RADIO BUTTON and DISPLAY
    4. U get Function Modules
    EXIT_SAPLKASC_001
    EXIT_SAPLKASC_002
    EXIT_SAPLKASC_003
    5. Now individually double click on each FM and put a break point ther.
    6. Open a new session and see wheather it stop at the break-points of the T. code you are looking for.
    I havent used this user exit, so no comments on how it ll be use ful.
    Reward points if useful
    Thank-You
    regards
    vinsee

  • WIA not being triggered

    Hey all! We have Windows Integrated Authentication (WIA) working fine on our dev environment but for some reason can't duplicate it on our Prod servers.
    By accessing the dev url it auto-authenticates me and I can see the SSO via the IIS log files.
    However when I access our Prod URL the SSO files (SSOLogin.aspx) aren't being triggered.
    I've checked that the SSO folder in IIS is set for Integrated Auth and anonymous access has been removed. Our config files look to be in sync and the auth service is set for SSO. I'm a little baffled why its not triggering.
    Any ideas?

    Assign the listener to the stage, not this...
    stage.addEventListener(KeyboardEvent.KEY_DOWN, eventKeyDown);
    and be sure to Disable Keyboard Shortcuts via the Flash Player's Control menu options

  • Integration Process is not being Triggered

    Hi Gurus,
    I have a file to file scenario in which I am using BPM to make a synch call in between.
    Everything appears to be fine in IR and ID. 
    But, Intergration Process is not being determined as a receiver and hence, IP is not getting  triggered.
    When I checked the trace.
    At top it says.. 1 Recvr is determined.
    <Trace level="2" type="T">O U T B O U N D - B I N D I N G</Trace>
      <Trace level="2" type="T">Cache Content is up to date</Trace>
      <Trace level="2" type="T">determine OUTBOUND BINDING for:</Trace>
      <Trace level="2" type="T">-SENDER_SYSTEM</Trace>
      <Trace level="2" type="T">-IP_NAME</Trace>
    At bottom it says.. no recr determined as shown below.
    <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
    Could you please help me to resolve this issue..
    Thanks in Advance..
    Pushkar

    Hi Bhavesh,
    Thanks for a quick reply.. well.. cache refresh doesnt help me..
    I created a couple of more scenarios.. n every where i m getting the same error..
    When I check the IP in the process builder.. i.e. using transaction SXMB_MONI_BPE,
    I find an extra container operation step "Initialize System Element" just after recieve step.
    I am wondering about this step.. I have worked on BPM earlier but have never noticed this step..
    Regards..
    Pushkar...

  • Dynamic Action not being triggered in Batch

    Hi Gurus,
    We have the below Dynamic Action that is not getting triggered when we run a Batch to Create IT2010. We are using TCode PTE1 to create the batch.
    2010                   4     5     P     T001P-MOLGA='10'
    2010                   4     10     P     PSPAR-TCLAS='A'
    2010                   4     12     P     P2010-LGART='4023'
    2010                   4     15     I     INS,2001,,,(P2010-BEGDA),(P2010-ENDDA)/D
    2010                   4     20           **P2001-AWART='0100'
    2010                   4     21     W     P2001-AWART='1300'
    2010                   4     25     W     P2001-STDAZ=P2010-ANZHL
    I have read a few posts on how this can be done, but not very clear as to whether it can even be achieved.
    This Dynamic Action works fine when we manually Create an IT2010 record via PA30, it creates the IT2001 in the background.
    Cheers,
    Anil

    Hello Anil,
    Please check the following note, I think note should be helpful in this case.
    386027   Dynamic actions
    1564499  Processing initial values which are not valid in
    Best Regards,
    Deepak.

  • Mail not being triggered in background

    Hi Experts,
    I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send a mail with attachments to the user. The program in which the FM is used is scheduled in background. The problem is in my dev system, the mail is getting triggered without any issues but in Quality system, the mail is not getting triggered but the job  runs successfully. I got some expection  with   sy-subrc = 2 , sy-msgid = SO ,sy-msgtyp=A ,sy-msgno=013,sy-msgvi=ADDR_PERS_COMP_COMM_GET in QA . When i tried to debug the background job, mail gets triggered successfully.
    Can you please share your valuable suggestions in this regard.
    Regards,
    Vijayalakshmi

    Hi Vijayalakshmi..
    Can you please check whether the mail is reaching your sap outbox using tcode sbwp..
    From what i understood if it is working fine in DEV and not in quality then it could be the mail configuration issue in QA.
    You can also try one more thing. just got to sbwp and send a mail to the email id.
    Regards
    Ansari

  • Event Handler is not being triggered- 11G Release2

    Hi all,
    I developed a postprocess event handler which I am expecting to be triggered when my custom task for trusted reconciliation run. I have deployed my event handler using plugin registration utility. I put a static block in my class to see if my class iz being initialized. I see that iti is initialized but event handler is never triggered (execute method is never called). Why it is not triggered? Any help is strongly appreciated... Below is my configuration for the event handler..
    <?xml version='1.0' encoding='utf-8'?>
    <eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel/orchestration-handlers.xsd">
    <action-handler class="com.tcmb.iam.plugin.eventhandler.PostProcessEventHandler"
    entity-type="User"
    operation="ANY"
    name="PostProcessEventHandler"
    stage="postprocess" order="1002"
    sync="TRUE"/>
    </eventhandlers>
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
    <plugin pluginclass=
    "com.tcmb.iam.plugin.eventhandler.PostProcessEventHandler"
    version="1.0"
    name="PostProcessEventHandler">
    </plugin>
    </plugins>
    </oimplugins>
    Tahnaks in advance,
    BR
    ALİYE

    Hi Nayan,
    I have cheked the plugins table and my plugin is in there.Thenchecked mds_paths table I have four records there (I have deployed and undeployed few times) wich are as follow:
    path element name
    http://www.oracle.com/schema/oim/platform/kernel     action-handler
    http://www.oracle.com/schema/oim/platform/kernel     action-handler
    http://xmlns.oracle.com/schema/oim/platform/kernel eventhandlers
    http://www.oracle.com/schema/oim/platform/kernel     eventhandlers
    Which schema is corrent? Is there something wrong with these records that causes my handler to do not trigger ?
    Thanks a lot
    BR
    Aliye

  • ATP not being triggered automatically after changing UE EXIT_SAPLATPC_002

    Hello everyone. I am having a problem with ATP.
    This error is happening within VA02 (or VA01).
    I have just added some logic to EXIT_SAPLATPC_002 - include ZXATPU02 (which is in the modification ATP00001)  but now that I have made this change it prevents ATP from automatically being invoked when I make changes to the item on the sales order. The only way I can get ATP to be invoked is by
    choosing check availability.
    I tried searching all available avenues and posted to OSS who said it is a consulting issue. Does anyone know what I may be missing with this.
    I think the code error occurs in the below area:
    FM ATP_EXPLANATION
    Subroutine PERFORM DIALOGUE_EXECUTE.
    FORM dialogue_execute.
    IF NOT atpcsx-force_dia IS INITIAL
    Thank you for your time and help! Tom

    I wanted to post the reply for this in case people have the same issue. I found that the issue was not in code, but configuration in table TVTA-REVFP. Here is the menu path for the configuration that drives if the delivery proposal dialog comes uo or not:
    SPROSales and DistributionBasic FunctionsAvailability Check and Transfer of RequirementsAvailability CheckAvailability Check with ATP Logic or Against PlanningDefine Default Settings

  • BTE 1020 not being triggered though everything is active.

    I have implemented BTE 1020.  In BF24, I have a customer product called ZBTE2040, text, no RFC, and active is checked.  In BF34, I have event 00001020, product ZBTE1020, no country or appl, and my "Z" function module.  When I go through debug, I'm coming to a part in the SAP code that is not working correctly.  When the FM OPEN_FI_PERFORM_00001020_E is called, I can see that it goes to table TBE34 and finds my customer product from BF24.  There is however a part of the code from LITSRF01 (form TABLE_FILL) that is not working:
    *------ At this stage, there can only be one entry left -
      READ TABLE ITPS34 INDEX 1.
      IF  SY-SUBRC = 0
      AND NOT ITPS34-PRDKT IS INITIAL.
        CLEAR TBE24.
    Read data from context -
        SUPPLY PRDKT = ITPS34-PRDKT
                   TO             CONTEXT CP_CT.
        DEMAND RFCDS = TBE24-RFCDS
               AKTIV = TBE24-AKTIV
                   FROM           CONTEXT CP_CT.
    Application activated ? -
        IF TBE24-AKTIV = 'X'.
          MOVE-CORRESPONDING ITPS34 TO APCUSTAB.
          APCUSTAB-RFCDS = TBE24-RFCDS.
          COLLECT APCUSTAB.
          CLEAR EMPTY.
        ENDIF.
      ENDIF.
    ========================
    When it executes the DEMAND statement above, field TBE24-AKTIV is not filled in even though when I go to table TBE24, the field = "X".  Through debug mode, if I go ahead and change the value to "X" after the DEMAND statement, my "Z" function module is executed. 
    Can anyone provide any insight?  The system is SAP ECC 6.0.
    Thanks

    Hi,
    I had the same problem once. Could not figure out what was causing it. I just activated everything and move the transport again. I am working in 4.6C though.
    As you are debuging the code, i would suggest that you put a watchpoint on TBE24 and see where it is being populated first time and where else it is being changed. This way you can track down the reason why the AKTIV field is blank.
    Let me know if you have any question.
    Regards,
    RS

  • HR triggers not being triggered

    Hello Experts,
    I have configured a triggers for new hire  and have performed the following steps
    1.Performed HR field mapping
    2.created Action
    3.Defined a rule with  necessary attributes
    4.Scheduled background jobs ( both data laod and HR trigger job),
    and went and created a new personnel record with new user in SAP  system
    but the  process log is blank , I have no triggers whatsoever
    I have checked the table /virsa/ruleattr and it shows my attributes which I have defined in HR rules tab
    but still no joy
    your help will be much appreacited
    Regards
    Mark
    Edited by: MK on May 20, 2009 9:22 AM

    Hi MK,
    Could you please let me know the Rule which you have created for the new hire.
    I think the rule you have created is not matching the values you are putting for new hire in PA30.
    Also check table "/VIRSA/INT_TRIG" for any entry in it for your trigger, you should have entry in this table for each trigger.
    Thanks,
    Tavi
    Edited by: tavi singh on May 21, 2009 10:28 PM

  • Workflow template PE_Approve01 not being triggered when attendee is booked

    Hello
    Have copied and configured the workflow template for approval of bookings. When i test the workflow from tcode swdd it is executed, but when i try and book an attendde for an event using tcode pv00 the workflow is not triggered. Is this the correct tcode that triggers the workflow or it needs ESS for it to work?

    I hope you might be using the workflow template WS1200160 for approval booking for this workflow tempalte you have to activate the event linkage between the BOR event PDRELA_025  -> moveRequested if your requirement is to trigger the workflow for Pre booking  the you have to use the BOR event PDRELA_027  -> Created , all you have to do is ,
    1. Goto PFTC transaction, select the task type as workflow template.
    2. Mention the workflow template number open in chnage mode and clcik on the tab Triggering Events and select the BOR type  as BOR and BOR any one one of the above mentioned BOR's and any one of the events and activate the linkage by clicking on the buton present in the first column...

  • ESS Leave Request Workflow 12300111 not being triggered

    Hi Experts,
    I am implementing ESS 1.0for ERP05. The Leave Request (EP) is not trigerring the standard wokflow 12300111.
    I performed the following steps:
    1. Configured inbackend SPRO: Processing process for types of Leave to point to 12300111
    2. Changed the taskes under WF12300111 to General Tasks and activated the WF
    On submitting the Leave Request (EP), the table PTREQ_HEADER gets updated but theWorflow is still not triggered.
    Can someone please help.
    Thanks,
    Shobhit

    Hello Shobhit,
    could you solve it ?

  • Workflow not being triggered by incoming email

    Hello,
    I have a SharePoint Designer workflow that triggers when a new item is created. The library the workflow is attached to specifically receives incoming emails. The workflow runs perfectly in our SharePoint 2010 environment, however, it does not
    run on incoming emails received in our SharePoint 2013 environment. If I upload a document into the library, it will run. It also runs if I manually start it. It just won't run automatically when it receives an incoming email. Is this a bug or is this
    to be expected with SharePoint 2013? Thanks.

    Hi Gmchusyr,
    I recommend to check if workflow trigger on email is enabled in SharePoint with the PowerShell command below:
    $spWebService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $spWebService.DeclarativeWorkflowAutoStartOnEmailEnabled
    If it is False, please enable it with the PowerShell command below and then check the results:
    $spWebService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $spWebService.DeclarativeWorkflowAutoStartOnEmailEnabled = $true
    $spWebService.Update()
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/office/en-US/436592de-6100-4659-9fbe-22aedb98c23c/incoming-email-not-triggering-on-item-created-workflow?forum=sharepointcustomization
    More references:
    http://adayinsharepointv3.blogspot.jp/2012/12/kick-off-workflow-in-sharepoint-library.html
    http://social.technet.microsoft.com/wiki/contents/articles/4607.sharepoint-2010-workflows-on-incoming-emails-in-sharepoint-documents-library.aspx
    For SharePoint 2013 workflows, the workflows can be triggered by incoming emails, however the workflows will fail after starting.
    In this case, we need to activate the Workflows  can use app permissions in Manage site features in site settings.
    http://dhasalprashantsharepoint.blogspot.jp/2013/07/sharepoint-2013-workflow-suspends-on-e.html
    Best regards.
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Notes being triggered when I don't want them....

    Ok, so I just bought an evolution MK425c which I am using to play instruments from Mainstage. The problem I have is that whenever I release a key it beeps. I looked at the manual and it said I should be able to disable it in the Type menu of the Layout inspector (momentary button..?). However, the keys when selected do not have the type menu as the rotary knobs etc do. Any help would be greatly appreciated....

    What's beeping? The MainStage instrument or the keyboard?
    Normally a keyboard sends a simple Note Off command when a key is released. Have you looked at the MIDI info coming into MainStage to see if that is what is being received, and to make sure the MK425 is not programmed to send something else when a key is released?

  • Rule-Generator Adapter is not being triggered

    I have created a rule-generator adapter and assigned it to pre-insert and pre-update of a process form (mapped the return value to process form field) but the system does not trigger the adapter when I add the resource to user. Any ideas why this happens?
    Regards,
    Kostas

    I tried with an entity adapter but the effect is the same (restarted the server). It looks like the system does trigger the pre-insert and pre-update events. Any ideas?

Maybe you are looking for

  • IPhone cannot send email using Yahoo account. iPhone no envia correo Yahoo.

    Hi Everyone, I just got my iPhone from Movistar Venezuela and I've found I'm unable to send email using my Yahoo account. However, I can receive Yahoo email just fine (paid $20 for Mail Plus subscription), my GMail account can send and receive perfec

  • Fill structure of IDoc via a function module

    Hi all, I have a special requirement that an IDoc has to be filled over a function module and then is sent. The IDoc is PROACT01. So I'm looking more or less for a function module which does the same as you can do in transaction we19 (IDoc test tool)

  • Backup with DB13/BRBACKUP

    Hello everyone! I try to find out whether and how the folder names created by DB13/BRBACKUP (Full and Inkrementelles backup) can be changed. With the parametre "backup_root_dir" (Default: ORACLE_HOME / sapbackup) you can determine, where BRBACKUP sho

  • URGENT: Kernel Panics

    Hi, I have just had my second kernel panic within 4 days. I am starting to think something is wrong. Log file for the second panic follows: panic(cpu 0 caller 0x00099044): pmapmapblock: mapping error 10, pmap = 00368000, va = 0000000020457000 Latest

  • Parsing of JSP file

    Parsing of JSP File '/main.jsp' failed: /main.jsp(1): Could not parse deployment descriptor: java.io.IOException: cannot resolve 'http://java.sun.com/jstl/core' into a valid tag library probably occurred due to an error in /main.jsp line 1: <%@ tagli