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

CheckBox dynamic initiation error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: CheckBox
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a class extending the mx.controls.CheckBox control, e.g. myCheckBox.
      2. Compile the class into a swf file using Adobe Flex 3 SDK.
      3. Load the swf file into your application using a loader, then after the load complete use flash.utils.getQualifiedClassName(loader.content) to get the class name.
      4. use loader.contentLoaderInfo.applicationDomain.getDefinition(className) to get the object class, then create an instance of that class (myCheckBox), then add it to the application.

      Actual Results:
      A Button control appears instead instead of a CheckBox control.

      Expected Results:
      A CheckBox control should appear.

      Workaround (if any):

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: