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

Some member variables (including x and y) show icon indicating they are not public

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • FDB - Debugger
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Reproduction:
      1. Debug any Flex app, and stop somewhere, e.g. inside a Button click handler
      2. In variables view, expand "this"
      3. Scroll to the bottom so you can see "x" and "y"

      Actual Results:
      "x" and "y" have an icon showing a small yellow box with a "+" through it, indicating that their scope is "internal".

      Expected Results:
      They should have a green circle, indicating that they are public. The same is true for many of the other variables.

      This seems to have to do with the fact that although x and y are defined as public by class Sprite, they are also defined in the interface IFlexDisplayObject, like this:

      function get x():Number;
      function get y():Number;

      Functions in an interface are implicitly always public. However, I can see in the debugging information which is coming back that the debugger seems to think these are internal to IFlexDisplayObject.

      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: