O'Reilly logo

Actionscript Cookbook by Joey Lott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14.1. Creating a New FlashCom Application

Problem

You want to create a new FlashCom application.

Solution

Create a new subdirectory in the FlashCom server’s applications directory, which automatically creates a FlashCom application of the same name.

Discussion

To create a new FlashCom application you need to create a new subdirectory (officially called a registered application directory) within the FlashCom server’s applications directory. Of course, a complete, working application requires additional elements, such as one or more Flash movies, but creating the application’s subdirectory is the first step.

As of FlashCom version 1.5, the default location of the applications directory is Program Files\Macromedia\Flash Communication Server MX\applications in a Windows environment and /opt/macromedia/fcs/applications/ in Linux. The name of the new FlashCom application is automatically determined by the name you give the new subdirectory you create. This is also the name you use to connect Flash to the intended FlashCom application. For example, you can create a new FlashCom application named myNewApplication by creating a new subdirectory called myNewApplication within the FlashCom server’s applications directory.

See Also

Once you have created the new FlashCom application, you need to connect to an instance of that application. The connection is initiated by the client-side Flash movie, as discussed in Recipe 14.2. For an example of a full-blown FlashCom server application, see the video ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required