Adobe Flash

Data Integration: Using the Macromedia Tips Web Service (Flash Professional Only)

In this tutorial, you use the Web Services panel to connect to a web service, which you use to return a random tip about Macromedia software. You then use components to set up a simple user interface.

In this tutorial, you will complete the following tasks:

  1. Connect to a public web service

  2. Create a user interface and bind the components with the web service

This tutorial uses a public web service and therefore requires that you have an Internet connection.

If you have trouble downloading or decompressing the files, see TechNote 13686 at www.macromedia.com/support/general/ts/documents/downfiles.htm.

Note

The use of a public web service in this tutorial does not imply that you should use one for real-world applications. In fact, Macromedia does not recommend using public web services directly from within any client-side application. For more information, see "About data connectivity and security in Flash Player" in the "Data Integration" tutorial in Using Flash (in Flash, select Help > Using Flash). In a production environment, you should use web services that are placed on your own web server.

The finished FLA file for this tutorial is installed with Flash. The following list provides the typical paths to this directory.

  • In Windows, browse to boot drive \Program Files\Macromedia\ Flash 8\Samples and Tutorials\Tutorial Assets\Data Integration\Tips.

  • On the Macintosh: browse to Macintosh HD /Applications/ Macromedia Flash 8/Samples and Tutorials/Tutorial Assets/Data Integration/Tips.