First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Jeffrey F. Hill | Website: http://www.flash-db.com/services/

Building Flash clients for Web Services with Soap and Flash MX

Topics Covered

  • Interacting between Flash and Web Services
  • Using the new Load Vars Object in Flash MX
  • Using Components to simplify the process
  • Using Styles to easily change the look of your components and text fields
  • Why use Soap based Web Services


In this tutorial we are going to build a Flash Language Translator. The language translator will be able to translate between any two languages. The Language translation service was chosen because it's basic, yet provides an easy way to get into web services and is something you can use on your site right away. The tutorial also shows the basic's of using components in a Flash movie and loading dynamic content into them.

First lets take a look at what a soap based web service is. It's easy to get lost in all the technical definitions of web services - so we take a very basic approach. A web service is any server side logic that can be accessed over standard network protocols (HTML, XML, SMTP, etc). So that being the case - web services in general are nothing new. What's new is the SOAP standard. What soap does is standardize the way messages are sent between a Client and a Service. Usually soap messages are sent to a server, which then invoke some application and returns the result. Well their are quite a few more use's but for this tutorial we'll leave it at that. A simple way for any programming language from any server, device, other application, etc - to communicate with any other server, device, application in any programming language.

We really don't need to spend any time on the details of what a web service is or does for this tutorial, as all we want to do is be able to use them to add additional functionality to a flash movie. We'll go into them a bit more as this progresses. First we have to take care of the Flash side of things. If you want to get an idea of what where building - you can do so here:

In the service directory or Or by itself. The actual service is provided by xMethods here.

So lets move on...

» Level Advanced

Added: 2002-08-19
Rating: 7 Votes: 10
» Author
Jeffrey Hill is a freelance web developer from Boulder, Colorado. He specializes in creating and developing dynamic database driven Flash content, applications, and content management systems. Specialty's include SQL, PHP, Perl, XML, web services, and Flash clients for web services.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.