Summary

This has been a rather technical chapter exploring the new relationship between Director MX and the Flash Communication Server MX.

We started by discussing how computers are evolving from being regarded as computing machines to communication devices. This shift is being facilitated through the use of a "Trojan Horse"Flash Player 7and the Flash Communication Server MX.

We next reviewed how dynamic data passes between the Director MX movie and the Flash Communication Server MX. This is facilitated through the use of a Flash MX sprite on the Director stage. From there, we explained how this happensit starts with getting lost in Germanyand presented the Lingo Code that enables users to create a video and audio chat using a Director "shell."

The code was broken into easily-digestible sections, and we showed how Lingo can communicate with ActionScript and vice-versa.

The keys were the creation of NetConnection and NetStream objects using Lingo to communicate with the Flash Communication Server MX. We showed how to find and connect to cameras and microphones connected to a computer and how to stream their data flow using the attachAudio and attachVideo commands from ActionScript.

We showed how to turn off the streams and also how to disconnect the Flash sprite from the Flash Communication Server MX. We also showed you a rather interesting way of constantly checking to see if Director MX and the Flash Communication Server MX are "talking" to each other.

The chapter then discussed developing interfaces and concluded with some of the interface and design issues to keep in mind when Director is being used on a web page.

In the next chapter, it all comes together as we create a dynamic booking facility for the Oakbridge Community Center.



Building Dynamic Websites with Macromedia Studio MX 2004
Building Dynamic Web Sites with Macromedia Studio MX 2004
ISBN: 0735713766
EAN: 2147483647
Year: 2005
Pages: 158

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net