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

Component examples ListExample.mxml and DropDownListExample.mxml are broken and will not compile

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Sample Apps
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:

      1. Checkout Flex 4 SDK from trunk

      2. Symlink missing files from .\samples\explorer
      mx -> to .\frameworks\projects\framework\asdoc\en_US\mx
      spark -> to .\frameworks\projects\spark\asdoc\en_US\spark

      3. Try to compile Flex 4 Component Explorer application

      Actual Results:

      C:\flex_sdk_4.0.0.8674\samples\explorer\spark\components\examples\DropDownListExample.mxml (19):
      Error: Type was not found or was not a compile-time constant: IndexChangEvent.
      private function updateSelection(e:IndexChangEvent):void

      C:\flex_sdk_4.0.0.8674\samples\explorer\spark\components\examples\ListExample.mxml (10):
      Error: Type was not found or was not a compile-time constant: IndexChangEvent.
      private function selectionChangingHandler(evt:IndexChangEvent):void {

      Expected Results:

      All examples in Component Explorer application should compile properly

      Workaround (if any):

      Solution: fix typos in the component explorer examples.
      Search&Replace IndexChangEvent by IndexChangeEvent in the affected files and recompile the Component Explorer app.
      Issue reproducible with the latest Flex 4 trunk version 8801.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment