Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
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.