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

For loop doesn't work correctly. VERY DANGEROUS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Alert
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" creationComplete="pippox()">
      <mx:Script>
      <![CDATA[
      import mx.controls.Alert;
      private function pippox():void {

      var i:int;

      for (i=0 ;i<5 ;i++)

      { Alert.show(i.toString()); }

      }
      ]]
      >
      </mx:Script>
      </mx:Application>

      Actual Results:
      4 3 2 1 0

      Expected Results:
      0 1 2 3 4

      Workaround (if any):

      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: