0 Replies Latest reply on Aug 5, 2006 2:33 AM by cubum

    XML, data is empty

    cubum
      news.php return
      $Return = "<news>";
      $Return .="\n<other><pagecount>$MaxPage</pagecount></other>";
      $Return .= "\n</news>";

      i using:
      private function initApp():void {
      Alert.show(pCount.attribute("pagecount").toString(),"Info");
      }
      <mx:HTTPService id="newsRequest" url=" http://localhost/flex/news.php" useProxy="false" method="POST">
      </mx:HTTPService>
      <mx:XMLListCollection id="pCount" source="{newsRequest.lastResult.news.other}" />

      But pCount.attribute("pagecount").toString() not found