Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-21260

Listening to click on Application

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Skinning
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Language Found: English

    Description

      Steps to reproduce:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="1024" minHeight="768" click="application1_clickHandler(event)">

      <mx:Script>
      <![CDATA[
      import mx.controls.Alert;
      protected function application1_clickHandler(event:MouseEvent):void
      {
      // TODO Auto-generated method stub
      if(event.target == this)
      Alert.show("Application clicked");
      }
      ]]
      >
      </mx:Script>

      </mx:Application>

      a code like this in 3.4 gives the alert and it gives in sdk4.0.0.10000 also. In the sdk 4.0.0.10342 this does not give the alert as all points belong to ContainerBorderSkin.

      Actual Results:
      In the sdk 4.0.0.10342 this does not give the alert

      Expected Results:
      Alert should come

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: