title: Flex 3: Question about conditional statements for a repeater
body: <p>I have an xml file that has a start date and length of a project... I use a repeater to load each project.  The users' screen only shows 2 weeks at a time.  I would like to make it so that if a project doesn't fall within the two weeks on screen, that the project isn't loaded.  I could do this by sorting through the XML and finding the correct projects to load, and putting them into an array collection, but there's a "move date" button which allows the user to change the two weeks that are showed.  Once the two weeks are changed, I would need the projects that fit into that new 2 week window to show.</p>
  
  <p>Currently, my repeater looks like this:</p>
  
  <pre><code>&lt;mx:Repeater id="projectRP" dataProvider="{projectsHttp.lastResult.project}" recycleChildren="true"&gt;
      &lt;Block:project id="wholeProject"
          dbID="{Number(projectRP.currentItem.dbID)}"
          projectID="{projectRP.currentIndex}"
          workingTitle="{projectRP.currentItem.workingTitle}"
          projectTitle="{projectRP.currentItem.projName}"
          startDate="{textToDate(projectRP.currentItem.startDate)}"
          projectPositions="{XML(projectRP.currentItem.positions)}"
      /&gt;
  &lt;/mx:Repeater&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>