ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
com.adobe.mosaic.om.interfaces 

IMessageBus  - AS3 ADEP Composite Application

Pakietcom.adobe.mosaic.om.interfaces
Interfejspublic interface IMessageBus

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Wersje środowiska wykonawczego: AIR 2.6, Flash Player 10.2

The IMessageBus interface provides methods for handling inter-tile communication.

Powiązane elementy interfejsu API

com.adobe.om.interfaces.IApplication


Metody publiczne
 MetodaZdefiniowane przez
  
addMessageListener(namespace:String, name:String, handler:Function):void
Adds a listener for a namespace and name combination.
IMessageBus
  
removeMessageListener(namespace:String, name:String, handler:Function):void
Removes a listener for a namespace and name combination.
IMessageBus
  
Sends a message to all the tiles in a composite application.
IMessageBus
Szczegół metody

addMessageListener

()metoda
public function addMessageListener(namespace:String, name:String, handler:Function):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Wersje środowiska wykonawczego: AIR 2.6, Flash Player 10.2

Adds a listener for a namespace and name combination.

After calling this method, the listener is called anytime a message that matches the namespace and name is sent by any other tile in the application.

Parametry

namespace:String — The namespace of the message.
 
name:String — The name of the message to listen for.
 
handler:Function — A function that triggers once for each sendMessage that is called that matches the namespace and name. The function takes one parameter of type Message.

Powiązane elementy interfejsu API

removeMessageListener

()metoda 
public function removeMessageListener(namespace:String, name:String, handler:Function):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Wersje środowiska wykonawczego: AIR 2.6, Flash Player 10.2

Removes a listener for a namespace and name combination.

After calling this method, the listener is no longer called anytime a message that matches the namespace and name is sent by any other tile in the application.

Parametry

namespace:String — The namespace of the message.
 
name:String — The name of the message to no longer listen for.
 
handler:Function — The function to no longer be called.

Powiązane elementy interfejsu API

sendMessage

()metoda 
public function sendMessage(message:Message):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Wersje środowiska wykonawczego: AIR 2.6, Flash Player 10.2

Sends a message to all the tiles in a composite application.

This is used to convey transitory information across all the tiles in the application. The messages are not kept or queued for later processing, they are only visible to tiles that are in the application at the time the message is sent.

Parametry

message:Message — The message to send.





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.