2 Replies Latest reply on Aug 1, 2010 3:36 AM by Osama1818

    Loop doesnt work

    Osama1818

      Hi guys,

      I need ur help,I am beginner to adobe flex and i got the following problem. When I write any Loop(for,while,...etc) I got the following error

       
      1120: Access of undefined property i.

       

      My code

      <fx:Script>
               <![CDATA[
               var i:int;
               for(i=0;i<5;i++)
               {
                  
               }
               ]]>
           </fx:Script>

       

       

      I am using Flex 4 SDK

      Adobe Flash Builder 4

       

      Thanx,

      Osama