Hi Friends,
I am developing a simple chat application. Here i have a List of all
logged in users names say A, B, C, D in a datafield and check box
against each user in another datafield of the arraycollection.
Now say, user A checks B and C and clicks a button called Invite. An
Alert message has to go to Both B and C.
Some thing like,
public function Invite():void
{
for(var i:int = 0; i < List.length; i++)
{
if(List[i].checkbox == true)//List is arraycollection
{
var str:string = List[i].toString();
sharedobj.send("callInvitedUsers", myName, str);
}
}
}
Here the probelm is function callInvitedUsers is executed only after
the complete for loop iterations
I want function callInvitedUsers to be called before next iteration of
for loop is executed.
Any Ideas??
Regards
Pradeep
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---