• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. STEP 5: Monitoring and Managi... > What Happens When You Run Your Flash...

What Happens When You Run Your Flash Communication Server MX Application?

A communication application run for the first time creates an application instance on the server. In Chapter 3, “STEP 3: Get Connected,” you created the myFirstApp folder within the flashcom/applications folder; this is your starting point. This folder provides the server with a location to store its resources that are persistent in your application. These persistent resources can include SharedObjects or recorded video. SharedObjects store data such as chat logs, connection information, or database information. The folder is also a location to store any recorded video your application requires. The folder should be considered a collection of resources the server needs for an application.

The application instance is stored in server memory and is created when an application first runs or is manually “instanced” through the App Inspector. On first execution, the server executes the file main.asc or a file matching the name of the application. In our example, the server looked to run main.asc; if that had not been found, it then would have looked for a file called myFirstApp.asc. It is your decision how you want to name your initial file. There is really no benefit for using one or the other.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint