Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4551184
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:36:01+00:00 2026-05-21T16:36:01+00:00

I need to call a REST web service that provides an XML feed of

  • 0

I need to call a REST web service that provides an XML feed of weather conditions. I have 13 cities for which conditions are needed, and only 3 nodes for each city are required (vs. the entire feed).

My very basic first attempt is as follows:

public class Main extends MovieClip {

public function Main() {

var xmlLoader:URLLoader = new URLLoader(); 
var xmlData:XML = new XML(); 

xmlLoader.addEventListener(Event.COMPLETE, LoadXML); 

xmlLoader.load(new URLRequest
("http://MyUrl?querystringx")); 

function LoadXML(e:Event):void { 
xmlData = new XML(e.target.data); 
Parse(xmlData); 
} 

}
}

First, how do I parse the 3 nodes , and ?
Next, is there a way to pass a different querystring argument for each of the 13 cities?
Finally, how would I add these values to an FLV that’s been imported and placed on stage? The FLV displays a geographical area and pans from east to west plotting cities as it goes. At each city plot, the 3 node values need to be “superimposed” onto the FLV.

Thanks much for your help and guidance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T16:36:02+00:00Added an answer on May 21, 2026 at 4:36 pm

    You can use URLRequest and URLVariables and to pass variable like that

    var url:String = “http://MyUrl”;
    var request:URLRequest = new URLRequest(url);
    var variables:URLVariables = new URLVariables();
    variables.exampleSessionId = new Date().getTime();
    variables.exampleUserLabel = “guest”;
    xmlLoader.load(request);

    see Working with external data and URLVariables

    Hopes that helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Silverlight client that I need to call a web service. The
I have created a REST web service that, on Application_Start, subscribes to another service
I've got a Silverlight app that talks to a REST web service using the
We need to provide a simple REST-like web service interface for communicating with a
I have a known working web service which is configured as a SOAP and
I need to call my WCF REST Service with multiple parameters with the POST
I have a WCF Web Api Restful webservice. I want every single service call
i need to consume a web api, which is located here http://46.253.202.174:8080/ws-api/v1/rest/zdata/codesByJurAndUsage?jur=Boston,%20MA&usg=barber I don't
i used Zend Rest Controller for developing a web service, and now i need
I have written REST web service in netbean IDE using jersey framework and java.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.