MouseEvent not firing on DisplayObject click in AS only project in Flash Builder 4

Hello,
I'm having difficulty getting MouseEvents to fire in an ActionScript only project. It doesn't make any sense to me. My code is below and this object is the top most object on the stage.
var click:Sprite = new Sprite();
click.name = 'clickLayer';
click.mouseEnabled = true;
click.addEventListener(MouseEvent.CLICK, mouseClickHandler);
addChild(click);
function mouseClickHandler(e:MouseEvent):void{
trace('click');
var url:String = loaderInfo.parameters.clickTag;
navigateToURL(new URLRequest(url), '_blank');
My class extends Sprite.
Everything else works fine. Something I found strange is that TextFields will fire MouseEvents when clicked if I add the EventListener, but not DisplayObjects.
Thanks for your help.

I just made the width & height the width & height of the container (Sprite), but still nothing.
I also tried adding a "container" sprite to the main stage, and adding everything to that sprite - but that sprite won't instantiate and doesn't show on the stage, meaning anything added to that sprite doesn't show either.\
Also: I've tried adding MouseEvent listeners to every display object I add to the stage and nothing will fire MouseEvents except TextFields.

Similar Messages

  • Deployed Android project using Flash Builder Burrito not working on mobiles

    Hi,
    I have created a simple "Hello World" Application using Flash Builder Burrito SDK. I have tested the result in the emulator it is working great.
    After that i deployed the application using "Export Release Build Option" and entered valid certificate details and created the .apk file. I copied the .apk file into the device and i run the application. Iam unable to run the app. I have tried these in 3 android supported devices and in each of these i am getting different error messages. I have mentioned the device in which i have tested and the error message i got while i tried to install the app (.apk file)
    HTC Desire - "Error while parsing the package of the application"
    Samsung Galaxy Tab - "Error while parsing the package of the application"
    LG Optimus one (LG P500) - "Application not installed"
    I have created a New Mobile Project in the flash SDK and added simple label "HELLO WORLD" in the view section.
    Before deploying i have installed Adobe AIR 2.5 in the device.
    Whether iam missing any of the steps to deploy correctly in the device. If so, please let me know. Also i need to know whether any restrictions are there for applications developed using Flash Burrito Preview Release. (whether by default all android mobile version more than 2.1 will support it?)
    Also when i try to install "Tour De Mobile Flex" apk in LG Optimus, it is saying "Device not supported" message.
    How do i overcome these problems to run the apk file without any problems.
    If you need any other detail please let me know, i will explain it in detail.
    Thanks in Advance,
    Srinivasan.C

    Ok, this is an old post but i still needed a couple of hours to find a solution, so here we go:
    - Most likely you have TWO executable build targets in your project (two mxml that you can launch). If so, go to the Project settings > Flex Applications and remove the one you don't need so you only have one.
    - My case was a bit complex though - i was using an ANE and Coldfucion server. In this case change the Output folder in the Project Properties > Flex Server > Output folder to something like "temp" instead of "C:..." generated by Flex Builder. The Android device gets confused by a "C:" reference but still can understand a local "temp" folder
    I hope i have saved your day

  • Using flex4.1, Flash Builder giving error "flash.filesystem::StorageVolume could not be found."

    Hi there,
              I'm trying to copy some files to Storage Card on a AIR application. Is this possible with the latest version of the AIR SDK (2.0)?
              I am developing in Flash Builder. I have downloaded the lastest flex sdk(4.1)  and used it.
              Flash Builder then recognises the StorageVolume and StorageVolumeInfo classes. However when I then run the app the debugger throws an error on the following line:
    LINE:
    var volumes:Vector.<StorageVolume> = StorageVolumeInfo.storageVolumeInfo.getStorageVolumes();
    Note: I have imported both classes as well.

    I'v read the article
    http://forums.adobe.com/message/2984004#2984004,
    and checked my application.xml, The content of the first two lines is:
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    Error message from flash builder debug:
    typecheck Player/getLocalVideo()
      outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ spark.components.supportClasses::SkinnableComponent$ spark.components.supportClasses::SkinnableContainerBase$ spark.components::SkinnableContainer$ spark.components::Application$ spark.components::WindowedApplication$ Player$]
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      0:debugfile "D:\My Documents\Adobe Flash Builder 4\LiveVideoClient\OnSiteEnforceLawPublish\src;;Player.mxml"
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      2:debugline 20
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      4:getlocal0
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} (Player[O])
      5:pushscope
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} ()
      6:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      7:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (String?[S])
      8:setlocal 5
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} ()
      10:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      11:coerce mx.collections::ArrayCollection
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (mx.collections::ArrayCollection?[O])
      13:setlocal 6
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} ()
      15:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      16:coerce flash.filesystem::File
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} (flash.filesystem::File?[O])
      18:setlocal 7
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} ()
      20:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} (null[O])
      21:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} (String?[S])
      22:setlocal 8
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} ()
      24:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} (null[O])
      25:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} (String?[S])
      26:setlocal 9
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      28:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      33:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      38:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      43:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      48:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      53:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      58:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      63:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      68:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      73:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      78:debugline 23
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      80:findpropstrict flash.filesystem::StorageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (Object[A])
      82:getproperty flash.filesystem::StorageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      84:getproperty storageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      86:callproperty getStorageVolumes 0
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      89:coerce __AS3__.vec::Vector
    VerifyError: Error #1014: Class flash.filesystem::StorageVolume could not be found.
    at Player/___Player_WindowedApplication1_windowComplete()[D:\My Documents\Adobe Flash Builder 4\LiveVideoClient\OnSiteEnforceLawPublish\src\Player.mxml:4]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core \UIComponent.as:12528]
    at spark.components::WindowedApplication/enterFrameHandler()[E:\dev\4.x\frameworks\projects\ airspark\src\spark\components\WindowedApplication.as:2355]

  • Flash Builder 4.6 Not Recognizing Valid CS 5.5 Premium Serial Number

    I have downloaded and attempted to install Flash Builder 4.6 over the install of FB 4.5 that came with Web Premium 5.5
    The serial number from my original install is not recognized as a valid serial number for FB 4.6
    I am hesitant to uninstall FB 4.5 first and attempt the install of 4.6 since I am running Windows 7 64 bit and others in this forum are saying they have had install issues on that platform.
    Come on Adobe !  You are better than this !
    Anyone have a solution?

    in another thread jleydig has mentioned very precisely how to serialize FB 4.6. Please follow it for serializing FB 4.6
    1) Deactivated CS 5.5 by going into Flash Builder clicking Help > Deactivate Flash Builder...and clicking "Deactivate Permanently" (which deactivated the entire suite)
    2) Uninstalled only Flash Builder 4.5 and the iOS Component through the Control Panel (I'm sure you know how to do but just in case... go to Control Panel > Programs and Features (terminology may vary based on your OS) and click on your CS and click Uninstall. This will launch the Adobe uninstaller. From there deselect everything and only select (check) Flash Builder 4.5 and the iOS Component and then uninstall them - uninstalling the iOS Component might not be necessary, but I did it anyway)
    3) Restarted after those uninstalled
    4) Launched Photoshop and entered my CS Serial Number (you should be able to launch any CS program thats still installed to do this)
    5) Once it opened, closed it
    6) Installed Flash Builder 4.6 in Trial Mode making sure to select the same language used when CS was installed (that's IMPORTANT)
    7) Launched Flash Builder 4.6 in 60-Day (or however many days it was) Trail Mode
    8) Once it opened, closed it
    9) Launched Flash Builder 4.6 again, but this time I entered the Serial Number from my CS (at that point it accepted the SN and opened like normal and has everytime since)
    10) I then installed my iOS Component from my original CS

  • Flash Builder 4.5 is not responding...

    When I try to execute a project in Flash Builder 4.5, it is not responding. And still in the same position all the time. This project is working fine on yesterday also.Can anyone please tell me what the problem is?

    I see my device there available. Here is the command along the response:
    C:\Android\android-sdk\platform-tools>adb.exe devices
    adb server is out of date.  killing...
    * daemon started successfully *
    List of devices attached
    4C5499EFF384    device
    So, I can see my device in Android but not in Flash Builder 4.6
    Thanks

  • Adobe Flash Builder 4.7 Plug-in Utility Not Installing on Eclipse

    I am trying to install Flash Builder 4.7 Plugin into Eclipse. I have downloaded Flash Builder Premium via Adobe's Creative Cloud. I have also installed Eclipse Indigo. I am running this all on Mac OSX.
    According to a tutorial I found I needed to go into the Utilities folder found in the Flash Builder install and run the Adobe Flash Builder 4.7 Plug-in Utility. It seemed to run fine. Afterwards you should be able to see "Flash Builder" in the help menu of Eclipse. However it is not there. You should also be able to set Flash Builder preferences under Window --> Preferences. Flash Builder is also not visible there.
    According the the tutorial there should also be this file "fb-4_7-plugin-encoded.link" created in the "dropins" folder of Eclipse. This file is created. However it is blank.
    I looked into the installation log and there was only one concerning message.
    Move File: Destination: /Applications/eclipse/dropins/fb-4_7-plugin-encoded.link
    Status: WARNING
    Additional Notes: WARNING - There was a problem moving /Applications/eclipse/dropins/fb-4_7-plugin-encoded.link
    I am unsure what this means the documentation seems to be pretty sparse. However, it seems to be the only problem in the entire installation process. Any ideas or suggestions on what could be causing this error would be great.

    Hey,
    I actually did solve this.  Forgot to come back and answer.  Hopes this helps Stefano.
    I went into dropins/fb-4_7-plugin-encoded.link and edited it to say the following:
    path=C:/Program Files (x86)/Adobe/Adobe Flash Builder 4.7

  • Not Working - PMD 1.1, Flash Builder 4, Flash Project

    I have a Flash Actionscript project on Flash Builder 4 and after installing PMD and setting command line tools in preferences. I right clicked on src selected FlexPMD -> Run FlexPMD, Flex PMD View opens immediatelly, but nothing is there, just an empty window.
    Is it even supposed to work with non Flex projects?

    Hi
    make sure to read this thread http://forums.adobe.com/thread/537410?tstart=30
    Basically if there's a white space on the path of your FlexPMD installation, workspace or project the plugin will fail.
    This has been fixed in the trunk version and will be released very soon
    Cheers
    Xavi

  • Native Process Not Supported in Flash Builder 4.1

    Hi,
    I am using Flash Builder 4.1 and I am trying with native processing with the example from http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.h tml. When I tried to run the project in Flash Builder, it shows "NativeProcess not supported.". However, after I export release build, the application is working properly.
    How can I have the native process to be able to run in Flash builder? So that it will be easier for me to test and troubleshoot the application. Thanks.

    You need to add the following line in your  ***-app.xml file for debugging mode
    <supportedProfiles>extendedDesktop</supportedProfiles>
    and
    <supportedProfiles>extendedDesktop desktop</supportedProfiles>
    for release build

  • Flash builder Event metadata not recognized

    Hello,
    Can someone explain me why my event isn't recognized in the code below (it is not proposed as a property for my TestButton and if I try to force it I get an error)
    Test application :
    <?xml version="1.0" encoding="utf-8"?><s:Application 
    xmlns:fx=http://ns.adobe.com/mxml/2009
    xmlns:s="
    library://ns.adobe.com/flex/spark"
    xmlns:mx="
    library://ns.adobe.com/flex/halo"
    xmlns:local="
    minWidth="
    1024" minHeight="768"> 
        <local:TestButton/>
    </s:Application>
    TestButton.mxml :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Button  
    xmlns:fx=
    http://ns.adobe.com/mxml/2009 xmlns:s="
    library://ns.adobe.com/flex/spark"xmlns:mx="
    library://ns.adobe.com/flex/halo">
         <fx:Metadata>  
    Event("testEvent", type="flash.events.Event")]
         </fx:Metadata> </s:Button> 
    There is no more or less code than that. I'm using the beta of Flash Builder 4.
    Thanks. </s:Button> 
    There is no more or less code than that. I'm using the beta of Flash Builder 4.
    Thanks.
    </s:Button>
    There is no more or less code than that. I'm using the beta of Flash Builder 4.
    Thanks.   

    My apologize for my post layout but I definitly can't get my post to look like what I write in the text field. I don't know why it has repeated the last line (maybe because it's some Adobe stuff). It's difficult to be confident in the reliability of Adobe developping tools when a simple web page doesn't work correctly.
    Sorry for being nasty but I'm starting to get rid of spending hours on ununderstandable problems.
    (To be more nasty, the best this morning : I start a new Flex project in Flash Builder, make a few things, and when I tried to launch it, surprise : "This file cannot be launched" and that's all, no more explanation, imposible to find answer on the web. I finally had to restart the project.)

  • Flash Builder 4.5 does not recognize 'virtual'

    I have a project created in Flex Builder 3.  I imported that project to Flash Builder 4.5.  Now I see an orange mark at every function that has something like this:
    public virtual function getVersionHandler(event:ResultEvent):void{}
    Flash Builder 4.5 complains about 'virtual' => "access of undefined virtual" and 'getVersionHandler' => "type was not found or not a compile-time constant"
    Does anyone know how I can resolve this?
    Thanks.

    The virtual keyword is classified as a "future reserved word". In the current AS3 language spec it does nothing, and can safely be removed.
    From the help:
    "There are also several identifiers that are sometimes referred to as future reserved words. These identifiers are not reserved by ActionScript 3.0, though some of them may be treated as keywords by software that incorporates ActionScript 3.0. You might be able to use many of these identifiers in your code, but Adobe recommends that you do not use them because they may appear as keywords in a subsequent version of the language."
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3_Flex/WS5b3ccc516d4fbf351e63e3d 118a9b90204-7f9b.html#WS5b3ccc516d4fbf351e63e3d118a9b90204-7f6e

  • Double Click Event not fired for IE 11 with compatibility mode for HTML elemnt table

    Hi,
    I am facing an issue with Double click event(not getting fired on double click of mouse) for IE 11 with compatibility mode on HTML element "table" for Windows 7 64 bit machine.It runs fine on IE 10 with compatible mode with Windws 7 64  bit
    machine -- double click event.
    Can you please help to resolve the issue?
    Thanks and Regards,
    Yogesh

    Hi,
    f12>Debug tab, click the 'start' button.....(select break on all exceptions from the dropdown on the Debug tab)
    click your table and correct any errors that are listed in the Console of the developer tool.... probably you are using attachEvent I/o addEventListener. You should be using addEventListener for IE9 and higher and other web browsers.(it the w3c standard
    (recommendation).
    Post questions about html, css and scripting for website developers to the MSDN IE Web Development forum. Include with your question a link to your website or a mashup that shows the issue.
    Rob^_^

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION(R12 UPGRAD

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • OnRowUpdating Event not firing in my DataGrid in custom web part in my production SharePoint 2013 Foundation instance

    Hi,
    I have a custom visual web part that I've developed for SharePoint 2013 Foundation.  I am using Visual Studio 2013 to develop this web part. 
    In my visual web part I have GridView that I use to update data in a SQL 2008 R@ Server Database.  In dev and test the OnRowUpdatingEvent fires properly, but in production it does not.  I have the same version of SharePoint running on dev/test/prod. 
    The main difference between the three environments is the hardware.  Production has a much beefier sever than dev and test.  Dev and test are also virtual machines where production is.
    At first I thought my problem was cache related, and I made adjustments per this article:
    http://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
    That didn't help because the event is still not firing.  I took my test application and pointed it to the production database, and that event still fires in test but not in production. So I believe that eliminates database permission errors since I'm
    using the same credentials in both instances.
    My guess is that I need to change some settings in the production environment, but I'm not sure at this point what that might be.
    Any suggestions on what settings to look at?
    Brian
    Brian Hochgurtel
    My blog

    Try this solution :
    http://stackoverflow.com/questions/5893373/c-sharp-rowupdating-method-not-called-when-update-is-clicked-in-a-gridview

  • KEY-COMMIT not firing

    I am working on an Oracle 10g database and am using Oracle Forms Developer 10g to create forms. I have created a new 2 field table in my database:
    CREATE TABLE career_cluster
    (career_cluster_code VARCHAR2(3) NOT NULL
    ,CONSTRAINT career_cluster_pk
    PRIMARY KEY (career_cluster_code)
    USING INDEX
    TABLESPACE GALINDX
    ,career_cluster_desc VARCHAR2(30) NOT NULL
    TABLESPACE galaxy;
    I have also created a form so that users can enter data into this table. I have a career_cluster data block in my form with two items: career_cluster_code (set with a maximum length of 3 in my property palette) and career_cluster_desc (set with a maximum length of 30 in my property palette). Both items are also set in the property palettes to a char data type. In my SQL code (in the form) I always have these two items set as varchar2 with (3) and (30), respectively.
    The form opens fine when I run it, however when I click on my SAVE button my KEY-COMMIT trigger is not fired -- it jumps directly to my ON-ERROR trigger and I get an Oracle ORA-06502 error message. I don't see any inconsistencies in my data types or lengths. Below is my KEY-COMMIT code:
    DECLARE hold_item varchar2(30) := :system.cursor_item;
    hold_record varchar2(10) := :system.cursor_record;
    mess_name varchar2(80);
    mess_text varchar2(80);
    BEGIN
    go_block('career_cluster');
         if (error_code = 40202) then
              goto end_of_trigger;
         end if;
    if :system.block_status = 'CHANGED' then null;
    commit_form;
    if FORM_SUCCESS then null;
    mess_name := 'Transaction Complete';
    mess_text := 'Career Cluster(s) committed to the database';
    DISP_ALERT2(mess_text,mess_name);
    end if;
    else null;
    mess_name := 'No changes to commit';
    mess_text := 'No changes have been made to the Career Cluster Code Table';
    DISP_ALERT2(mess_text,mess_name);
    end if;
    go_item(hold_item);
    go_record(hold_record);
    <<end_of_trigger>>
    null;
    END;
    I put in a DISP_ALERT message right after the BEGIN statement but it never displayed so I don't think this trigger is firing. I also put a similar DISP_ALERT message in my ON-ERROR trigger and that does display, so I know it is going right to my ON-ERROR trigger. Does anyone have any ideas what might be triggering the ON-ERROR?
    Thanks,
    -NTW

    ORA-06502 is a numeric or value error string which is raised when an arithmetic, numeric, string, conversion, or constraint error occurrs. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2).
    I would suggest you to look at the columns definitions in the table and the form fields/variables data types and lengths and make sure they are same as the backend table columns.
    Also, you don't need to put NULL; after each IF ELSE conditions if you have any other statements.
    I would also suggest that you handle any errors in either exception handler of the block or in the ON-ERROR triggers.
    Try this:
    DECLARE
        hold_item varchar2(30) := :system.cursor_item;
        hold_record varchar2(10) := :system.cursor_record;
        mess_name varchar2(80);
        mess_text varchar2(80);
    BEGIN
        GO_BLOCK('career_cluster');
        IF :system.block_status = 'CHANGED' THEN
            commit_form;
            IF FORM_SUCCESS THEN
                mess_name := 'Transaction Complete';
                mess_text := 'Career Cluster(s) committed to the database';
                DISP_ALERT2(mess_text,mess_name);
            END IF;
        ELSE
            mess_name := 'No changes to commit';
            mess_text := 'No changes have been made to the Career Cluster Code Table';
            DISP_ALERT2(mess_text,mess_name);
        END IF;
        GO_RECORD(hold_record);
        GO_ITEM(hold_item);
    EXCEPTION
      WHEN OTHERS THEN  MESSAGE(TO_CHAR(ERROR_CODE)||'-'||ERROR_TEXT);
      RAISE FORM_TRIGGER_FAILURE;
    END;

Maybe you are looking for

  • Flickering Observed when Mouse-Down in Mac OS

    Hi There, I created two swf's, A and B. A is a blank swf, totally. B is has one button on it. Now neither of the swf's has code, animation or any action in it. I open A and B separately in two different Safari windows. When I keep the button on SWF B

  • Normal query behavior?

    I have about 70 documents loaded into a 10g DB and have a context index on that table. I am entering terms into an application that makes a keyword search with each individual term entered into the search string. What I have noticed is, it works bett

  • Cost center updating thorugh LSMW

    Dear All, I have uploaded cost centers ( changed new costcenters) thorugh LSMW. I hv created recording using T-Code PP01 and select relationship according to the BEGDA and ENDDA and i choiced the relation ship ID A011 costcenter Assignment and i did

  • Best app or program for backing up everything on iPhone

    I have just put iOS4 on my 3G and yes I lost all my contacts my calendar reminders,my notes,my book marks and some pics.Does anyone know what the best app or program is for backing up everything from my iPhone Contacts,Calendar,Notes,Bookmarks,Pictur

  • NPD Metrics - how to extract from the database in a usable format

    Metrics for NPD activities and projects are stored in the database one row for each metric in each activity or project instance. If there are multiple metrics per activity instance, for example, extraction of those metrics yeilds only a list of metri