Using Director > Director 8 Tutorial > Create a Shockwave chat movie |  |

Create a Shockwave chat movie

To allow your users to take advantage of the chat feature on the Web, you'll create a Shockwave version of your movie.

1 | Choose File > Publish Settings.
2 | On the Formats tab, select No HTML Template from the HTML Template pop-up menu and click OK.
3 | Save Chat and choose File > Publish.
| Chat appears in your Web browser.
4 | Type your name in the Enter Your Name field and click Enter.
| Remember, the Enter sprite is where you attached the `Connect to Server` behavior.
5 | In the Chat Room, type a gardening question in the Chat Input area and click Send.
6 | The text appears in the Chat Output field where other users, connected to the same server, can view and respond to the question.

Talk to yourself

Although the server and browser are on the same computer for this project, the server and chat room participants can be anywhere on the Internet. If no one else is connected to the server running your chat movie, you can chat with yourself using two different browser windows.

1 | In your browser window, select the URL and copy it.
| If you are using Netscape Navigator, you can find the URL in the Location field; if you are using Microsoft Internet Explorer, the URL is in the Address field.
2 | Open a new browser window and paste the URL in the same field of the new browser. Press Enter (Windows) or Return (Macintosh).
| A new version of Chat appears.
3 | Resize the two browser windows to view both of them, side by side.
4 | In the second version of GardenChat, log in by typing a new user name in the Enter Your Name field and click Enter.
| You can now answer the gardening question that you posted, or you can post a new question.
| Continue to switch from one browser to another, and type messages back and forth to yourself. View the conversation in the Chat Output field.
5 | When you finish chatting, click Exit the Chat, which is where you attached the `Disconnect from Server` behavior.
6 | Close one of the two open browser windows.

Set up other chat participants

If you have access to a Web server, you can place the HTML file and Shockwave movie on the server, then run your chat from any Internet location. For the chat to work, the Shockwave Multiuser Server application must be running at the IP address you specified for the movie.

View your GardenChat Web site

You're now ready to view both of your DCR files in the GardenChat Web site.

1 | In your Director 8 application folder, open the Learning folder and the My Tutorial folder, and drag the GardenChat.html page to your browser window.
2 | View the opening animation, and then click the Chat button to view your chat movie.