Flash BuddyList.getSize()

From J2Play

Jump to: navigation, search

Contents

Description

Get the number of buddies in the list

Syntax

public function getSize() : Number;

Parameters

N/A

Return Value

@return number of buddy

Examples

 import ca.j2x.flash.IController;
 import ca.j2x.flash.IBuddyList;

 var buddies : IBuddyList = controller.getBuddyList();
 for (var i=0; i<buddies.getSize(); i++)
 {
  // operation to every buddy
 }
Personal tools