Creating the Administrator Client
The administrator client should include the following functionality:
The administrator should be able to view a list of available messages that have been left.
The administrator should be able to play and/or delete messages.
The administrator should be alerted when there is an incoming call and should be able to accept or ignore the call.
If the administrator accepts a call, she should be able to end the call by clicking on a button.
Complete the following steps to make the administrator client movie:
Create a new Flash document named adminClient.fla and open it.
Add the PushButton and ListBox component symbols to the Library by creating an instance of each on the Stage and then deleting them.
Add a new video symbol by choosing New Video from the Library panel’s pop-up Options menu.
Create a new movie clip symbol named
videoMcand create an instance of the video symbol within it so that the video symbol instance is placed at (0,0).
Name the video symbol instance
Open the linkage properties for
Select the Export for ActionScript and Export on First Frame options and set the linkage identifier to
Add the following code to the first frame of the main timeline:
NetDebug.asis part of Flash Remoting. #include "NetDebug.as" // Include
MovieClip.asfrom Chapter 7 and
Date.asfrom Chapter 10. #include "MovieClip.as" #include "Date.as" // Include
Forms.asfrom Chapter 11. #include "Table.as" #include "Forms.as" ...