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

Don't not hard code GraphicElement to Group

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Other (specify version)
      Language Found: English

    Description

      Let us choose how we handle FXG and change the parameters on GraphicElement.parentChanged() to and interface or just type it to DisplayObjectContainer. It clearly doesn't need to be a Group as the property is sets is typed as DisplayObjectContainer.

      /**

      • @private
      • Storage for the parent property.
        */
        private var _parent:DisplayObjectContainer;

      /**

      • @inheritDoc
      • @langversion 3.0
      • @playerversion Flash 10
      • @playerversion AIR 1.5
      • @productversion Flex 4
        */
        public function get parent():DisplayObjectContainer { return _parent; }

      /**

      • @inheritDoc
      • @langversion 3.0
      • @playerversion Flash 10
      • @playerversion AIR 1.5
      • @productversion Flex 4
        */
        public function parentChanged(value:Group):void { _parent = value; }

      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: