Flash Challenge.setDisplayMessages()
From J2Play
Contents |
Description
Set the information message string array for all players in the game
Syntax
public function setDisplayMessages(messages: Array) : Void;
Parameters
* @param messages the message string array you want to set
Return Value
N/A
Examples
When in a challenge, challenger get the score 5000 and win the game, you should set the display messages to show the game result.
challenge.setDisplayMessages(Array('You won this challenge by score 5000','You lost the challenge, opponent get score 5000'));
