Flash Challenge.getNickname()

From J2Play

Jump to: navigation, search

Contents

Description

Get the nickname for the player at the specified index

Syntax

public function getNickname(index: Number) : String;

Parameters

* @param index the sequence index of player nickname array

Return Value

@return specific nickname

Examples

Get the current player's nickname

  challenge.getNickname(challenge.getMyIndex());
Personal tools