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
videoMc.Edit
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
vid.Open the linkage properties for
videoMc.Select the Export for ActionScript and Export on First Frame options and set the linkage identifier to
VideoMcSymbol.Add the following code to the first frame of the main timeline:
//
NetDebug.asis part of Flash Remoting. #include "NetDebug.as" // IncludeMovieClip.asfrom Chapter 7 andDate.asfrom Chapter 10. #include "MovieClip.as" #include "Date.as" // IncludeTable.asandForms.asfrom Chapter 11. #include "Table.as" #include "Forms.as" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access