The first sample uses the web services tutorial that is included with Flash Professional. It relies on a SWF member to do all the communication and control with the service. Director is serving as the host environment for the Macromedia Flash movie. This is a really simple example; use it to get the process of learning about web services started and to verify that everything works as expected. The Flash tutorial walks through all the steps necessary to create the SWF file, but you can just use the file included with the examples.
Just import the SWF, drag it to the Stage, and play it. You should be able to use the pop-up menu control to select a product and the Get Tip button to access a tip. This example uses a minimal web service, and there are just a couple of tips provided by the server. If this example isn’t working for you, make sure you are using version 10.1 of Director, since version 10.0 doesn’t support web services.
You can publish this movie and play it in a projector or in Shockwave Player. In Shockwave Player you will see the network security dialog since the web service is hosted on a different domain than your movie. The Macromedia Developer Center has some articles that discuss using proxy servers to address this type of cross-domain security issue.