5 Replies Latest reply on Sep 5, 2006 5:08 PM by ntsiii

    returning more than just xml

    CoolCountDracula Level 1
      hi,

      can anyone post all the ways a httpservice can recieve data. one is xml which seems to be the only one having any help on it.

      there are so many more ways.

      can anyone show wat shud be returned for the other formats.

      10x
        • 1. Re: returning more than just xml
          Matlus Level 1
          As per documentation:
          __________________
          The default value is object. The following values are permitted:
          object The value returned is XML and is parsed as a tree of ActionScript objects. This is the default.
          array The value returned is XML and is parsed as a tree of ActionScript objects however if the top level object is not an Array, a new Array is created and the result set as the first item. If makeObjectsBindable is true then the Array will be wrapped in an ArrayCollection.
          xml The value returned is XML and is returned as literal XML in an ActionScript XMLnode object.
          flashvars The value returned is text containing name=value pairs separated by ampersands, which is parsed into an ActionScript object.
          text The value returned is text, and is left raw.
          e4x The value returned is XML and is returned as literal XML in an ActionScript XML object, which can be accessed using ECMAScript for XML (E4X) expressions.
          _________________


          What are you trying to do?
          • 2. Re: returning more than just xml
            CoolCountDracula Level 1
            i have read the doc.

            this is not wat i wanted to know.

            i want to know wat should be the returned data format for each of those types.

            ex:
            xml:
            <att>
            <fname>sharad</fname>
            <lname>gupta</gupta>
            </att>

            flashvars:
            fname=sharad&lname=gupta

            this is for xml and flashvars wat wud it be for others
            • 3. Re: returning more than just xml
              Level 7
              i have read the doc.

              this is not wat i wanted to know.

              i want to know wat should be the returned data format for each of those types.

              ex:
              xml:
              <att>
              <fname>sharad</fname>
              <lname>gupta</gupta>
              </att>

              flashvars:
              fname=sharad&lname=gupta

              this is for xml and flashvars wat wud it be for others

              • 4. Re: returning more than just xml
                CoolCountDracula Level 1
                how come my reply came twice once by me and once by newsgroup user ???
                • 5. Re: returning more than just xml
                  ntsiii Level 3
                  The docs quoted explain the returned format of the data, We still do not know what you are asking.

                  Also, I am getting tired of trying to read your posts. If your spelling is really that poor, then ok, but it it is some stylistic thing, I wish you would stop.

                  Tracy