HTTPService in ActionScript

I created this class

Quote:

package services
{
Import mx.collections.ArrayCollection;
Import mx.rpc.http.HTTPService;
Import mx.rpc.events.FaultEvent;
Import mx.rpc.events.ResultEvent;

/ public class RSSService implements IService
{
private var _feeds:ArrayCollection;
private var _titleChannel:String;

private var _rssService:HTTPService;

public void RSSService(url:String) {}
_rssService = new HTTPService();
_rssService.url = url;
_rssService.useProxy = false;
}

public function send (): void {}
_rssService.send ();
_rssService.addEventListener (ResultEvent.RESULT, resultHandler);
_rssService.addEventListener (FaultEvent.FAULT, faultHandler);
}

private void resultHandler(event:ResultEvent):void {}
_feeds = event.result.rss.channel.item;
_titleChannel = event.result.rss.channel.title;
}

private void faultHandler(event:FaultEvent):void {}

}

public function getResult (): Object {}
If (_feeds == null) _rssService.send ();

var result: Object = new Object();
result.feeds = _feeds;
result.titleChannel = _titleChannel;
return the result;
}

}
}

Tags: Flex

Similar Questions

  • Newbie Q: HTTPService in ActionScript

    I am a complete newbie - I looked at the stuff "learn flex in a week" and read a few tutorials, but otherwise I'm from scratch.  I'm trying to create an HTTPService object purely in ActionScript, mainly because I just think it seems cleaner that to have all parts of separate functions, tags object declaration, etc..  Feel free to convince me that stylistically, this is the wrong choice.

    I started by doing the opposite, which is in all the examples.  This loads a configuration data object.  One of the elements is another URL which must be loaded, so I did this:

    private void configLoadedOK(event:ResultEvent):void {}
    config = event.result.thisMoment;
    trace (config. LINKS. GET_META_DATA.value);
    var metadataHTTP:HTTPService = new HTTPService;
    metadataHTTP.url = config. LINKS. GET_META_DATA. Value;
    metadataHTTP.fault = function (): void {}
    Alert.Show ("Unable to load metadata.", "Error");
    }
    metadataHTTP.result = {function(metaevent:ResultEvent):void}
    metadata = metaevent.result.moment_info;
    trace ("metadata loaded" + metadata);
    }
    metadataHTTP.send ();
    }

    They do not compile.  The "metadataHTTP.fault =" and "metadataHTTP.result =" lines give the following error: "1119: access the fault of property may be undefined by a reference with static type mx.rpc.http.mxml:HTTPService." "" "»

    In the documentation, it lists fault and the result as the HTTPService class events.  I guess you can't just define how you set a property to an event?  How are you?

    When you specify event handlers in the ACE, you must use addEventListener():

    
    
      
        
      
    
    

    If this post answers your question or assistance, please mark it as such.

    Greg Lafrance - Flex 2 and 3 certified ACE

    www.ChikaraDev.com

    Flex / development, training, AIR and Support Services

  • HttpService, data binding and graphics

    I'm sort of a newbie with flex - and that you have well understood the data binding in Flex. Hoping to get some advice here:

    I have a chart of the following type:

    < mx:ColumnChart
    ID = "myChart".
    dataProvider = "{srv.lastResult.X.Y}" "
    showDataTips = "true".
    width = '95% ' height = '95% ' >

    < mx:horizontalAxis >
    < mx:CategoryAxis
    categoryField = "First"
    / >
    < / mx:horizontalAxis >

    < mx:series >
    < mx:ColumnSeries
    xField = "First"
    yField = "Second"
    / >
    < / mx:series >
    < / mx:ColumnChart >

    and it is filled by a httpservice as follows:
    "< mx:HTTPService id ="srv"url =" 8180/hand "> "
    < mx:request >
    < param1 > one < / param1 >
    < / mx:request >
    < / mx:HTTPService >

    This method works well, aok.

    However, in my application, I need to be able to update this table dynamically.
    For this I use HttpService in actionscript code:
    service = new HTTPService();
    service. URL = "" 8180/hand "; "
    service.addEventListener ("result", Httpresultat);
    service.addEventListener ("default", httpFault);
    service. Send (Parameters);

    now, in the result handler...
    public void httpResult(event:ResultEvent):void {}
    var object: result = event.result;

    now here I don't know how to access the result object to bind it to the "myChart" above. Here pointers will be appreciated...

    }

    I don't think that any binding is required here. You can simply set the dataProvider to the new value. It would begin to show the new data.

    If you want really mandatory to make the update, then you just need to invoke the srv HTTPService himself again. Call srv.send () in your service of refreshing instead of create a new HTTPService. As myChart.dataProvider is already bound to srv.lastResult, she would get updated.

  • Conversion of HTTPService in AS3

    One of the things I don't like Flex is to have make switch between xmxl and .so files that I work through the logic of my code. As a result, I want to convert all my tags HTTPService AS3. I don't see any point in writing the HTTPService in mxml, as there is no visual element that itself. So my question is this: can I simply use a loadVars object to manage my calls and returns to and from php (it even exists in AS3?), or should I use the HTTPService in AS3. If I should use the HTTPService in AS3, how I would write what follows?

    Thank you very much for looking.

    Hi SiHoop,

    In the next page of the documentation, please see the section "setting explicit way with HTTPService components:
    http://livedocs.Adobe.com/Flex/3/HTML/data_access_5.html

    Basically, there are 3 ways to pass the params to the server via HTTPService:
    1) links (in the link above, see section "Binding of parameter with HTTPService components"). This option applies mainly during instantiation through MXML HTTPService (i.e. ), not with the instantiation through ActionScript (as you do).
    2) in position send() compared to how defined on the method Server (for example myService.send (myText.text, myText2.text)
    3) in send() via the object with the properties that are defined on serverside method of param names, (for example
    var params: Object = new Object();
    myText.text = params.param1;
    params.param2 = myText2.text;
    myService.send (params);

    For option 3 above, please note that in page doc I had referenced my first answer, where their "parameters: the object" was being imposed on the signing of the definition of the useHttpService(parameters:Object) method, the parameters of the object were built in the calling code. Unfortunately, the latest version of this documentation does not call any code. (Just before I said last night, Amy had enough posted that he was "a kind of example of crap".) So, according to your requirement, you can create the object elsewhere and put it in, or you can build the object immediately before execution of send (params).

    BTW, here is a "quick start guide Flex for PHP developers" complete with the sample files. It does not cover the HTTPService via ActionScript execution. However, if you have not yet taken so, maybe he can help you with some examples of work to work with PHP backends for Flex.

    Please post back on so the above answers your question, and if you find it useful :-)

    Best regards

    g

  • Help with httpservice fault

    I'm new to flex (actionscript and really) and I'm having a problem with the program I am writing.
    My httpservice object is to launch a httpFault with a message that says:
    [MessagingError message = 'Destination 'destination of a xml file' does not exist or the destination has no channels defined (and the application sets any default channels.) ']
    I know that the xml file exists... I tried a few other establishments... honestly I don't know what means the channel bit (I looked at a few things from google on the same error and had an understanding of what has been said)

    I have attached my code, I'm not sure what I'm supposed to do.
    I'm trying to update a list with the data stored in the ArtistList class, which is my model, the php to http://localhost/bearcube2/artists.php output xml file... I also tried the xml files simply on the web and locally, I get the same error message

    I want to declare the httpService in actionscript and not the mxml because I intend to send user input more than GET requests, but I have not got that far yet.

    Sorry if I'm missing something simple, but I tried to find what im doing wrong for a while, and since I'm new to flex I tell myself that I do not understand how to use something.
    Thanks for any help

    Sorry I'm late, comes to be changed
    service.destination = url;
    service.url = url;

    Oops...

  • Post using Actionscript variables

    Hello

    I saw on the docs we might write HTTPService in Actionscript method. I finished the entire section based on the description of the method defined on the doc, but I'm having some trouble setting the variables to pass to the real service (mx:request as MXML).

    I need to know the real variable that is passed to the function, because I would like to reuse the information returned by the service for further changes. Because this information is not stored in the XML file, I wonder if someone can tell me what is the problem with the syntax below? Currently, all I get is this error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    Anything is appreciated.

    "alice_data" wrote in message
    News:ge9nf1$1ai$1@forums. Macromedia.com...
    > Hi, Amy:
    >
    > Sorry, but I think I'm getting a bit confused at this point. I have
    > removed
    > var loader: URLLoader = new URLLoader();
    > loader.addEventListener (Event.COMPLETE, {function(event:Event):void}
    > trace ("done sending and loading:" + loader.data);
    > });
    > loader.load (request);
    > and represented the code and received the same error as before.
    >
    > Part of the problems with the error I get, is that I
    > not
    > set my settings correctly, but still when I tried to take the parameter
    > definition of the next line, he tells me I need an argument:
    ><>
    > label = "Submit" id = "mySubmitButton" click = "useHttpService ()" / >. " What should
    > I
    > put in parenthesis?
    >
    > The doc that I mentioned is to
    > http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?co
    > ntext = LiveDocs_Book_Parts & file = dataservices_099_15.html, but I think that my
    > main
    > problem here is that I do not know how to define variables and pass it
    > to
    > the real service and have to be handled internally through variables
    > Actionscript. Or, is what I'm trying to accomplish here not possible at all?

    Try to change this:
    private var request: HTTPService;
    TO
    private var request: URLRequest;

    I still think you get a lot of caveats you are ignorant (check the)
    tab). You must have obtained a double variable definition
    what you had.

    What you are trying to accomplish is possible, but do not pay
    pay attention to the warnings and errors Flex seeks to talk to you. They
    are your friend.

  • HTTPService request and the Actionscript questions

    Hello

    I don't know if anyone on the list could tell me what I'm trying to do here is possible. The scenario is that I have here a HTTPService which functionally works fine, but I want to do the rest of the processing in-house, instead of PHP (that of the HTTPService do the job)

    I wanted to make a function call to the HTTPService and then manage the variables I get from PHP, which currently I just use something like {simulation.lastResult.service.number}. If I want retrieve this value directly and do some manipulations of calculation with it in Actionscript, how can I retrieve the value of the above without having to rewrite my HTTPService? (Or, what is more effective?)

    Note: I am currently using PHP to do the same thing, but I would like to do in-house without hoarding my remote server.

    Any help is appreciated.

    Here's the HTTPService I:

    Try this example. It uses an XML file on my site that the data source and does not use PHP for any treatment, but it gives the basics.


    http://www.Adobe.com/2006/mxml '.
    layout = "absolute" >

    Import mx.controls.Alert;
    Import mx.rpc.events.FaultEvent;
    Import mx.rpc.events.ResultEvent;

    define your variables to the instance level and make sure that they are can be related
    [Bindable] private var totalBuy:int = 0;
    [Bindable] private var totalSell:int = 0;
    [Bindable] private var remaining: int = 0;

    private void resultHandler(e:ResultEvent): void {}
    This returns XML data your data may be different.
    You will see what the returned XML. Your code will change here
    According to what is returned.
    var xmlLst: XMLList = new XML (e.result) .children ();
    Alert.Show (xmlLst.toXMLString (), "Return Values");
    totalBuy = xmlLst [0];
    totalSell = xmlLst [1];
    remaining = totalBuy - totalSell;
    }

    private void faultHandler(e:FaultEvent): void {}
    Alert.Show (e.message.toString (), "Error");
    }
    private void runService(): void {}
    dataService.send ();
    }

    ]]>

    <>
    ID = "dataService."
    ' URL =' http://www.siteorderly.com/xml/costData.xml '
    resultFormat = "xml".
    result = "resultHandler (Event); »
    Fault = "FaultHandler (Event); » />







  • BarSeries using data XML in ActionScript 3

    Hello

    I am creating an application. I get the data form the HTTPService.

    I need to create a graph of Stackbar

    Data for the same XML thing is as follows:

    <? XML version = "1.0"? >

    < data >

    < name of brand = "ICICI Bank" MainId = "276439cd8a4514807d7180d0a2e886311a426147" >

    < name main = "(auteur inconnu) ' Count = '729' / >"

    < name main = "info2india' Count = ' 46" / > "

    < name main = "bankcodes" Count = "42" / >

    < name main = "sriprashant66' Count = ' 36" / > "

    < name main = "intellibitz' Count = ' 33" / > "

    < / brand >

    < name of brand = "Yes Bank" MainId = "4ce265a7f48e76faff32aa9764a5fb5c01f11b5e" >

    < name main = "(auteur inconnu) ' Count = '59' / >"

    < name main = "khan_4u" Count = "9" / >

    < SPN = "STOCKSTIPS" Count = "8" / >

    < name main = "stockezymobile" Count = "6" / >

    < name main = "Ideas Intraday" Count = "4" / >

    < / brand >

    < / data >

    Please guide witht the code.

    Here is the code example for stacked BarSeries use of XML in ActionScript 3


    http://www.Adobe.com/2006/mxml '.
    creationComplete = "srv.send ()" > "
     
    useProxy = "false".
    result = "chartData = ArrayCollection (SRV.lastResult.Data.Brand);createBarSeries();" »
    />


      Import mx.graphics.SolidColor;
    Import mx.charts.series.BarSeries;
    Import mx.events.CollectionEvent;
    Import mx.collections.ArrayCollection;
    Import mx.utils.ArrayUtil;
    [Bindable]
    private var chartAC:ArrayCollection = new ArrayCollection();
    private var chartData:ArrayCollection = new ArrayCollection();
    [Bindable]
    private var colors: Array = [0xDF0101, 0x298A08, 0x2ECCFA, 0xDF01A5, 0xD7DF01, 0 x 800000, 0 x 778899, 0xFF00FF, 0 x 000080, 0xFFA07A, 0x00FF00];

    private function createBarSeries (): void
    {
    var seriesDetails:ArrayCollection = new ArrayCollection();
    for (var j: int = 0; j
    {
    var chartObj:Object = new Object();
    chartObj.BName = chartData [j]. Anom;
    for (var i: int = 0; i< chartdata[j].name.length;="">
    {
    var s:String is chartData [j]. Name [i]. Main;
    chartObj [s + j] is [j] chartData. Name [i]. County;
    var seriesObj:Object = {XField: s + j, DisplayName: s};
    seriesDetails.addItem (seriesObj);
    }
    chartAC.addItem (chartObj);
    }

    Create a BarSeries and a table to be
    filled with spawned BarSeries objects
    var barSeries:BarSeries;
    var seriesArray:Array = new Array();

    Generate an array of BarSeries objects
    for (i = 0; i< seriesdetails.length;="">
    {
    barSeries = new BarSeries();
    barSeries.xField = seriesDetails [i]. XField;
    barSeries.displayName = seriesDetails [i]. DisplayName;
    var sc:SolidColor = new SolidColor (colors [i]);
    SC.alpha = 0.9;
    barSeries.setStyle ("fill", sc);
    seriesArray.push (barSeries);
    }
    barChart.series = seriesArray;

    }
    ]]>


     
    Type = "bunk".
    dataProvider = "{chartAC}".
    showDataTips = "true".
    Width = '100% '.
    Height = "100%" >
      
       
      

     
     

  • Httpservice Adobe question

    Hello

    I have two questions about httpservice and combobox.

    1. I have a collection of array of objects of value, I want to send the data in these valuables on httpservices. My code for httpservice is:

    < mx:HTTPService

    id=" createAccount " url=" http://localhost/createAccount.php "method =" " POST "result ="accountResult (event)" >

    < mx:request xmlns = "" " >

    < username >

    < / username >

    < / mx:request >

    < / mx:HTTPService >

    If the data is directly from controls, this isn't a problem but if its a value object how to send data in the actionscripts?

    2. I want to know how to fill the ComboBox dynamically... for example, when I press a button, I want to fill the combobox with text comes from an edit box and I want to select this item. I checked the class combobox, additem funcion in there there no...

    Any help would be appreciated.

    Thank you

    Vahiny

    If this post answers your question or assistance, please mark it as such.

    (1) maybe just send the data using myVO.toString (), or else use JSON to encode the data. These links may help:

    http://www.switchonthecode.com/tutorials/Flex-PHP-tutorial-transmitting-data-using-JSON

    e http://www.switchonthecode.com/tutorials/using-Flex-php-and-JSON-to-Modify-a-MySQL-databas

    http://www.switchonthecode.com/tutorials/Flex-PHP-JSON-MySQL-Advanced-updating

    (2) adds the dataProvider of the ComboBox. With driver data controls, you almost always want to work on the dataProvider to influence on what appears in the control.


    http://www.Adobe.com/2006/mxml">
     
        Import mx.collections.ArrayCollection;
    [Bindable] private var ac:ArrayCollection = new ArrayCollection([)
    'one', 'two', 'three '.
    ]);
         
    private function clickFunc (): void {}
    If (txt.text! = "") {}
    ac.addItemAt (txt.text, 0);
    cbx.selectedIndex = 0;
    }
    }
    ]]>
     

     
     
     

  • showbusycursor property in HTTPService

    Hello

    I have a HTTPService created through actionscript, but I'm not able to set the icon of the cursor occupied through actionscript. How can I do?

    Use the HTTPService mx.rpc.http.mxml.HTTPService here

  • HTTPService data object / class variable number

    Hello

    I am building a Flex application with ActionScript classes where the class contains all events management. In a class like:

    {stuff package
    public var xml:XML() = new XML();
    public void MyObject() {}
    public void getData (): void {}
    Here I create an HTTPService object, fill in all the information and send it.
    }
    public void resultHandler(event:ResultEvent):void {}
    XML = XML (event.result);
    I get the XML very well here, but after the end of this call, I can't get this data more
    }
    error handler, etc.
    }


    The problem is that if I want to view/use these data in the result handler, that is fine, but if I try to store these data in a class variable, I can't recover this data from outside the class. If I refer to this object to another object, the data, all right and I can see the xml from the results Manager, but I can't seem to store these data, then pull it out via a class variable, or via a getter method that returns the variable. Is there something I'm missing here? Basically, I want to get the information via the HTTPService and store this information in a class variable that I can access it later. How can I do this?

    Thank you.

    Thanks for all your suggestions. The final problem was indeed the asynchronous nature of data calls HTTPService. I found a series of articles that has highlighted and provided solutions to the issue. An important quote from one of the articles is: "the fact that the web service calls flex are asynchronous have implications on how you design your code." and even, "the asynchronicity of remote calls has a major impact on how you design the customer."

    This is exactly the kind of information was missing and I have not found well-described in the Adobe Flex 3 documentation or tutorials I've read.

    Here are some links to more useful articles I found:
    http://tinyurl.com/34py5p
    http://techpolesen.blogspot.com/2007/09/coping-with-Flex-asynchronous-remote.html
    http://techpolesen.blogspot.com/2007/09/coping-with-Flex-asynchronous-remote_26.html
    http://techpolesen.blogspot.com/2007/11/coping-with-Flex-asynchronous-remote.html

  • HTTPService - how to databind XML attribute

    I have a simple servlet that I call usign the HTTPService tag. Here is an example:

    < mx:HTTPService
    ID = "c4Test" method = "POST" resultFormat = "object" contentType = "application/xml".
    URL = "myServlet".
    useProxy = "false" >
    < mx:request >

    I call my servlet in my Flex application (via the HTTPService tag). The "myServlet" takes the request and responds with an XML response, like this:

    < Plan >
    < title id = "500" > Hello World < /title >
    < / myRoot >

    I want to display the attribute 'id' within the 'title' tag in a label field. I try to do it like that, but I get a syntax error:

    < mx:Label text="{c4Test.lastResult.myRoot.title[@message]}"/ >

    I know that syntax is probably wrong, but how we refer to an attribute. Referring to the "title" element works fine using the following syntax (but I don't want the title element, I want the value of the attribute id tithe).

    < mx:Label text="{c4Test.lastResult.myRoot.title}"/ >

    I try to avoid the use of ActionScript at this stage... try to do it with simple mx:controls

    Thanks for any help.



    OK... got it to work! It seems that when dealing with a result set of e4x, you have no need to reference the root node. My xml result looked liked this:


    Hello world

    I was trying to refer to the attribute "id" as follows (which did not work):

    But to make it work, I don't have to inlcude "myRoot" node root in the expression, as follows:

    It worked.

    Thank you!

  • A loop of HTTPService

    Hello, a newbie here. I would like to know how to make a loop with httpservice calls inside. I have a table called storyID, let's say:
    storyID = [4542,2354,2354,1234,7653];
    StoryID is not always long 5 elements, it varies.

    The appeal of httpservice url looks like:
    ttp://API.WebService.com/article/ h storyID
    where storyID is one of the items in the named table.

    So, I want to do a loop that goes through all the elements of the array storyID and make an httpservice call on each iteration with the corresponding storyID.

    Using the repeat does not work for me. I think the only way is to make an actionscript call. Can someone give an example, please. Thank you.

    Well, finally got it work. I couldn't use s1.send (id); because I use the api requires the id to do part of the url itself, not as a parameter. Example:
    URL = "ttp://api.webservice.com/article/storyID?appkey=myApp:".
    and is not:
    URL = "ttp://api.webservice.com/article?story=storyID h, appkey is myApp"

    I don't know if it's possible with the format s1.send (id) or not, but if it's possible, I still don't know how to do it.
    But anyway, I found a very useful page on the livedocs.

    With the example on the page dip as a guide, I managed to get to this:

    <>
    ID = "httpStoryDetails".
    resultFormat = "e4x".
    result = "httpStoryDetailsHandler (Event); »
    Fault = "httpFaultHandler (Event); »
    showBusyCursor = "true".
    />

    private function getStoryDetailsXML (): void {}
    for (var j: uint = 0; j< storyidarray.length;="">
    httpStoryDetails.url = 'h ttp://api.webservice.com/article/' + storyIDArray [j] + "?" appkey = myApp ";
    var httpStoryDetailsCall:Object = httpStoryDetails.send ();
    httpStoryDetailsCall.marker = "call" + j;
    }
    }

    private void httpStoryDetailsHandler(event:Object):void {}
    var httpStoryDetailsCall:Object = event.token;
    for (var j: uint = 0; j< storyidarray.length;="">
    If (httpStoryDetailsCall.marker == ('call' + j)) {}
    myXML.story[j].@title = httpStoryDetails.lastResult.story.title.text ();
    }
    }
    }

    That's all. I hope this helps other people have this problem. And by the way, it's really hard to show the code read on this forum. Adobe should do something.

  • Extends HTTPService

    How to extend a HTTPService?
    All other MX extends is ok, but when I try to extend a HTTPService, Flex more display this message:
    Met '< mx:HTTPService >' at line 2, column 81 NewHTTPService.mxml


    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:HTTPService xmlns:mx = ' http://www.adobe.com/2006/mxml ' fault = "showError ()" >
    < mx:Script >
    <! [CDATA]
    private void showError (): void {}
    ...
    }
    []] >
    < / mx:Script >
    < / mx:HTTPService >

    HTTPService is not a UI component, you can expand it you do it via an actionscript class.

  • Help! Problems with unique elements in dedicated... each loop using HTTPService

    I'm starting out with Flex 2/ActionScript 3, and I'm having a real
    problem trying to navigate through the results returned by a HTTPService (in
    XML format) when there is only one line of data. Here's what I have:

    ------------------------------------------------------------------------------------------ ------------------------------------
    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml '
    layout = "absolute" creationComplete = "Results.send ()" >
    "" < mx:HTTPService url = " http://mysqlserver/test?sql=EXECUTE+usp_Test"
    ID = "Results" showBusyCursor = "true" result = "ShowData ()" / >

    < mx:Script >
    <! [CDATA]
    private void ShowData (): void {}
    for each {(var: objet row dans Results.lastResult.items.item)}
    DataItemList.text += row.id + "\n";
    }
    }

    []] > < / mx:Script >
    < mx:Text x = "10" y = "10" width = "100%" height = "100%".
    ID = "DataItemList" / >

    < / mx:Application >
    ------------------------------------------------------------------------------------------ ------------------------------------

    Now, I have exactly what I expected when the http service returns more
    only a single line, like this:

    elements <>
    < item id = "Something" / >
    < item id = "Point Two" / >
    < / object >

    But if there is only one line, like this...
    elements <>
    < item id = "Something" / >
    < / object >

    ... I get a "ReferenceError: Error #1069: id of property not found on '.
    String and there is no default value. »

    It seems that the/foreach loop is broken? I looked around and
    seen the references explaining that one line is returned as another
    data type (object) as several lines (collection ArrayCollection). Is this true?

    I want a method that returns the same type of data regardless of the
    the number of lines. Any help would be greatly appreciated.

    Ah, I don't recommend that. On the other hand, specify resultFormat = "e4x".

    "In addition, rather than use lastResult, pass 'event' to the Manager.
    ShowData (event)

    And in the function:
    private void ShowData(oEvent:ResultEvent):void {}
    var xmlResult:XML = XML (oEvent.result)
    trace (xmlResult.ToXmlString ())

    See if you get the correct xml with a single line in this way.

    We'll go from there.
    Tracy

Maybe you are looking for

  • Where to download the system for 10.9.5 Prefs

    Lost to 10.9.5 system prefs.  Is there a download of the app?

  • How to remove itunes Family Plan

    I accidentally signed up for the family plan of itunes for 14.99 $par month.  I thought it was something else... in any case cannot find anywhere in help to withdraw the plan. Help.

  • expressxy

    I was just curious looking the Subvi expressxy attached, it seems that if there is a matrix constants with a table inside? I'm misinterpretting this because I thought that this could not be done.

  • How to install the new hard drive and windows key?

    Hello I have a aspire v5-121-c72g32nkk.I have just updated to Windows 10, don't panic, but I want to upgrade my HD drive to a SSD drive. You can find the steps to do this?Windows was preinstalled, how I reinstall on another drive?I have no serial key

  • How can I use on my mac computers save mode so I can save ink? (10.6.8 and 10.9.4 systems)

    (I just got a HP 1102w color laser jet printer for my imac (10.6.8), my macbook pro) 10.9.4) and my iPad. He is running, but is there an ink-saving setting that I can use on my computer, so I use less ink printer? Thank you Martha