MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE Instrukcja Użytkownika Strona 99

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 155
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 98
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
96
SOAPFault.faultactor
mySOAPFault.faultactor
A string indicating the source of the fault. This property is optional if an intermediary is not involved.
Availability
Flash Media Server 2
SOAPFault.faultcode
mySOAPFault.faultcode
A string indicating the short, standard qualified name describing the error.
Availability
Flash Media Server 2
SOAPFault.faultstring
mySOAPFault.faultstring
A string indicating the human-readable description of the error.
Availability
Flash Media Server 2
Example
The following example shows the fault code in a text field if the WSDL fails to load:
// Load the WebServices class:
load("webservices/WebServices.asc");
// Prepare the WSDL location:
var wsdlURI = "http://www.flash-db.com/services/ws/companyInfo.wsdl";
// Instantiate the web service object by using the WSDL location:
stockService = new WebService(wsdlURI);
// Handle the WSDL parsing and web service instantiation event:
stockService.onLoad = function(wsdl){
wsdlField.text = wsdl;
}
// If the wsdl fails to load, the onFault event is fired:
stockService.onFault = function(fault){
wsdlField.text = fault.faultstring;
}
Stream class
The Stream class lets you manage or republish streams in a Flash Media Server application. You cant attach audio or
video sources to a Stream object; you can only play and manage existing streams. Use the Stream class to shuffle
existing streams in a playlist, pull streams from other servers, control access to streams, and record data streams such
as log files.
Przeglądanie stron 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 154 155

Komentarze do niniejszej Instrukcji

Brak uwag