Querying Amazon with Flash

You've probably heard the term Web services and wondered what all the fuss was about. A Web service is a way for you to request information from another computer system. They work over the Internet and use XML to deliver their content. You send off a request and you receive the results in an XML format. You can use Web services to look up lots of different types of information including currency exchanges, television guides, movie reviews and weather updates.

In this tutorial, we'll look at how you can query the Amazon Web services using Flash. This tutorial assumes that you have Flash MX 2004 Professional. You'll need this version, because we're going to use the XMLConnector component to load the data. The tutorial assumes that you have a basic understanding of XML files. You'll also need some kind of Web server and server-side language to make the request. I'll be using IIS with ASP.NET in my examples.

$2.89
- OR -

Overview

You can download the source files for the tutorial from the blue Properties box that contains the article PDF. There's a heading titled Code Download and you can click the Details link next to it to get the zip file. The download includes the files you'll need as well as the completed Flash file AmazonQuery.fla.

Note: If you have difficulties downloading the source files or PDF, you might have a problem with your cookies. Delete the cookies from your machine and try again. In Internet Explorer, you can do this by choosing Tools > Internet Options… and clicking the Delete Cookies… button on the General tab.

Sas Jacobs

Sas JacobsHello. I'm the Principal of Anything Is Possible, an Australian web development business specialising in web applications development and training. I'm interested in using Flash with dynamic content and I've presented at a number of International conferences on topics relating to applications development, XML and scripting components. I have recently released my second print book Beginning XML with DOM and Ajax to match the first one - Foundation XML for Flash. I have a business web site
and a personal web site.

See All Postings From Sas Jacobs >>

Reviews

Be the first to write a review

You must me logged in to write a review.