Flash, PHP, and MySQL Integration example

well, alot of it seems pretty redundant. Try shaving it like this:

function lv(n, e, f) {
   var List:LoadVars = new LoadVars();
   List.sendAndLoad(f, List, "POST");
   List.onLoad = function() {
      n.htmlText = "";
      for (i=0; i<this.n; i++) {
         n.htmlText += "<a href='"+List["link"+i]+"'>"+Link["title"+i]+"</a><br>";
      }
   }
}

lv("cycle", null, "sites.php");

just try it basic, then add things until it all works.